You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -59,13 +59,13 @@ name and contact info to the [AUTHORS](AUTHORS) file.
59
59
60
60
## Environment set-up
61
61
62
-
1. Install the lastest[Java Development Kit](https://www.java.com/en/download/).
62
+
1. Install the latest[Java Development Kit](https://www.java.com/en/download/).
63
63
- The current Java Development Kit version is: **23**.
64
64
-**[Googlers only]** Install Java from go/softwarecenter instead.
65
65
66
66
2. Set your `JAVA_HOME` directory in the configuration file for your shell environment.
67
67
- For example, on macOS, the following works:
68
-
Check what version of java you have:
68
+
Check what version of Java you have:
69
69
```shell
70
70
/usr/libexec/java_home -V
71
71
```
@@ -86,7 +86,7 @@ name and contact info to the [AUTHORS](AUTHORS) file.
86
86
```shell
87
87
which flutter
88
88
```
89
-
This should print out a path to the Flutter SDK such as:
89
+
This should print out a path to the Flutter SDK, such as:
90
90
```shell
91
91
home/path/to/flutter/bin/flutter
92
92
```
@@ -95,8 +95,8 @@ name and contact info to the [AUTHORS](AUTHORS) file.
95
95
export FLUTTER_SDK="$HOME/path/to/flutter"
96
96
```
97
97
98
-
4. Set your `DARK_SDK` path in the configuration file for your shell environment.
99
-
- In your shell configuration file (e.g. `.bashrc` or `.zshrc`), set your `DART_SDK` env variable to match the Dart SDK in your Flutter SDK. This should look like the `FLUTTER_SDK` path (added above) with `/bin/cache/dart-sdk`appened to the end.
98
+
4. Set your `DART_SDK` path in the configuration file for your shell environment.
99
+
- In your shell configuration file (e.g. `.bashrc` or `.zshrc`), set your `DART_SDK` env variable to match the Dart SDK in your Flutter SDK. This should look like the `FLUTTER_SDK` path (added above) with `/bin/cache/dart-sdk`appended to the end.
@@ -108,7 +108,7 @@ name and contact info to the [AUTHORS](AUTHORS) file.
108
108
```
109
109
110
110
6. Update your current `PATH`.
111
-
- Either re-start your terminal or run `source ~/.zshrc` / `source ~/.bashrc` to add the new environment variables to your `PATH`.
111
+
- Either restart your terminal or run `source ~/.zshrc` / `source ~/.bashrc` to add the new environment variables to your `PATH`.
112
112
113
113
## IntelliJ set-up
114
114
@@ -138,7 +138,7 @@ name and contact info to the [AUTHORS](AUTHORS) file.
138
138
```
139
139
- **[Note]** If you want, you can manually change these properties to target different versions of IntelliJ. See `product-matrix.json` to find which configurations are supported.
140
140
141
-
3. Start the IntelliJ IDEA with the `flutter-intellij` project.
141
+
3. Start IntelliJ IDEA with the `flutter-intellij` project.
142
142
- If you see a popup with "Gradle build scripts found",
143
143
**confirm loading the Gradle project, and wait until syncing is done.**
144
144
- If you didn't see the popup at the first start, **delete & re-clone the repo** and try again.
@@ -158,7 +158,7 @@ name and contact info to the [AUTHORS](AUTHORS) file.
158
158
159
159
2. Add the IntelliJ JBR from disk:
160
160
- Select "Platform Settings > SDKs"
161
-
- Click the "+" sign at the top "Add New SDK (Alt+Insert)", thenselect"Add JDK from disk...".
161
+
- Click the "+" sign at the top, click"Add New SDK (Alt+Insert)", thenselect"Add JDK from disk...".
162
162
- Select your IntelliJ application (most likely under `Applications`) and from there, select the `Contents/jbr/Contents/Home` directory
163
163
- **[For macos]** You won't be able to select the `Contents` directory from Finder without right-clicking on the IntelliJ application, and selecting "Quick Look" from the dropdown that opens. From there, you can select the `Contents` directory.
164
164
- Change the name so that you can easily identify it, e.g. `IDEA JBR 21`.
@@ -170,11 +170,11 @@ name and contact info to the [AUTHORS](AUTHORS) file.
170
170
171
171
3. Add the IntelliJ Platform Plugin SDK
172
172
- Select "Platform Settings > SDKs"
173
-
- Click the "+" sign at the top "Add New SDK (Alt+Insert)", then select "Add IntelliJ Platform Plugin SDK...".
173
+
- Click the "+" sign at the top, click"Add New SDK (Alt+Insert)", then select "Add IntelliJ Platform Plugin SDK...".
174
174
- **[Note]** If you don't see this option, ensure you have the DevKit plugin installed.
175
175
- Select your IntelliJ application (most likely under `Applications`) and from there, select the `Contents` directory
176
176
- **[For macos]** You won't be able to select the `Contents` directory from Finder without right-clicking on the IntelliJ application, and selecting "Quick Look" from the dropdown that opens.
177
-
- Remember the generated name (probably `IntelliJ IDEA IU-231.8109.175`) or change to name to format like this.
177
+
- Remember the generated name (probably `IntelliJ IDEA IU-231.8109.175`) or change to name to a format like this.
178
178
- Change the **Internal Java Platform** to the JBR you added in step 2. (e.g. `IDEA JBR 21`).
179
179
- When you are done, your settings should look something like:
180
180
```
@@ -195,7 +195,7 @@ name and contact info to the [AUTHORS](AUTHORS) file.
195
195
- Select "Project Settings > Modules"
196
196
- Select the `flutter-intellij > flutter-idea` module
197
197
- Switch to the "Paths" window
198
-
- Select the **Inherit project compile output path** option then apply.
198
+
- Select the **Inherit project compile output path** option, then apply.
199
199
200
200
6. Change the modules SDK to the Project SDK
201
201
- Select "Project Settings > Modules"
@@ -205,7 +205,7 @@ name and contact info to the [AUTHORS](AUTHORS) file.
205
205
206
206
### Configure the Gradle settings
207
207
208
-
1. From IntelliJ, Open the "Settings" dialog (`IntelliJ IDEA | Settings`).
208
+
1. From IntelliJ, open the "Settings" dialog (`IntelliJ IDEA | Settings`).
0 commit comments