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
Copy file name to clipboardexpand all lines: basics/architectural_overview/psi_elements.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: PSI Elements
4
4
5
5
A PSI (Program Structure Interface) file represents a hierarchy of PSI elements (so-called _PSI trees_). A single PSI file may include several PSI trees in a particular programming language. A PSI element, in its turn, can have child PSI elements.
6
6
7
-
PSI elements and operations on the level of individual PSI elements are used to explore the internal structure of source code as it is interpreted by **IntelliJ IDEA**. For example, you can use PSI elements to perform code analysis, such as [code inspections](http://www.jetbrains.com/idea/help/code-inspection.html) or [intention actions](http://www.jetbrains.com/idea/help/intention-actions.html).
7
+
PSI elements and operations on the level of individual PSI elements are used to explore the internal structure of source code as it is interpreted by the **IntelliJ Platform**. For example, you can use PSI elements to perform code analysis, such as [code inspections](http://www.jetbrains.com/idea/help/code-inspection.html) or [intention actions](http://www.jetbrains.com/idea/help/intention-actions.html).
8
8
9
9
The [PsiElement](upsource:///platform/core-api/src/com/intellij/psi/PsiElement.java) class is the common base class for PSI elements.
Copy file name to clipboardexpand all lines: basics/architectural_overview/virtual_file.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Virtual Files
3
3
---
4
4
5
-
A virtual file [com.intellij.openapi.vfs.VirtualFile](upsource:///platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java) is *IntelliJ IDEA's* representation of a file in a file system (VFS). Most commonly, a virtual file is a file in your local file system. However, *IntelliJ IDEA* supports multiple pluggable file system implementations, so virtual files can also represent classes in a JAR file, old revisions of files loaded from a version control repository, and so on.
5
+
A virtual file [com.intellij.openapi.vfs.VirtualFile](upsource:///platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java) is the *IntelliJ Platform's* representation of a file in a file system (VFS). Most commonly, a virtual file is a file in your local file system. However, the *IntelliJ Platform* supports multiple pluggable file system implementations, so virtual files can also represent classes in a JAR file, old revisions of files loaded from a version control repository, and so on.
6
6
7
7
The VFS level deals only with binary content. You can get or set the contents of a `VirtualFile` as a stream of bytes, but concepts like encodings and line separators are handled on higher system levels.
8
8
@@ -21,7 +21,7 @@ Typical file operations are available, such as traverse the file system, get fil
21
21
22
22
The VFS is built incrementally, by scanning the file system up and down starting from the project root. New files appearing in the file system are detected by VFS _refreshes_. A refresh operation can be initiated programmatically using (`VirtualFileManager.getInstance().refresh()` or `VirtualFile.refresh()`). VFS refreshes are also triggered whenever file system watchers receive file system change notifications (available on the Windows and Mac operating systems).
23
23
24
-
As a plugin developer, you may want to invoke a VFS refresh if you need to access a file that has just been created by an external tool through IntelliJ IDEA APIs.
24
+
As a plugin developer, you may want to invoke a VFS refresh if you need to access a file that has just been created by an external tool through the IntelliJ Platform APIs.
Copy file name to clipboardexpand all lines: basics/checkout_and_build_community.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -45,13 +45,13 @@ You can also browse the source code through the Web interface.
45
45
46
46
## Forking on GitHub
47
47
48
-
As an alternative to checking out the official repository, you can fork the GitHub mirror of the IntelliJ IDEA source code, make changes in your own fork, and send us a pull request.
48
+
As an alternative to checking out the official repository, you can fork the GitHub mirror of the IntelliJ Platform source code, make changes in your own fork, and send us a pull request.
49
49
50
50
The GitHub mirror can be found at [https://github.com/JetBrains/intellij-community](https://github.com/JetBrains/intellij-community).
51
51
52
52
## Building and Running from the IDE
53
53
54
-
To develop IntelliJ IDEA, you can use either [IntelliJ IDEA Community Edition](https://www.jetbrains.com/idea/download/) or [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/).
54
+
To develop plugins and applications on the IntelliJ Platform, you can use either [IntelliJ IDEA Community Edition](https://www.jetbrains.com/idea/download/) or [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/download/).
55
55
56
56
**Building and running the code**
57
57
@@ -61,7 +61,7 @@ To develop IntelliJ IDEA, you can use either [IntelliJ IDEA Community Edition](h
61
61
62
62
Parts of IntelliJ IDEA are written in Groovy, and you will get compilation errors if you don't have the plugin enabled.
63
63
64
-
* Make sure you have the UI Designer plugin enabled. Most of IntelliJ IDEA's UI is built using the UI Designer, and the version you build will not run correctly if you don't have the plugin enabled.
64
+
* Make sure you have the UI Designer plugin enabled. Most of the IntelliJ IDEA platform UI is built using the UI Designer, and the version you build will not run correctly if you don't have the plugin enabled.
Copy file name to clipboardexpand all lines: basics/getting_started/creating_an_action.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,14 @@
2
2
title: Creating an action
3
3
---
4
4
5
-
Your plugins can customize the Intellij IDEA UI by adding new items to the menus and toolbars. Intellij IDEA provides the [AnAction.java](upsource:///platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java) class whose `actionPerformed` method is called each time you select a menu item or click a toolbar button.
5
+
Your plugins can customize the IntelliJ Platform UI by adding new items to the menus and toolbars. The IntelliJ Platform provides the class [AnAction.java](upsource:///platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java) whose `actionPerformed` method is called each time you select a menu item or click a toolbar button.
6
6
7
-
To customize *IntelliJ IDEA*, you should perform two basic steps:
7
+
To create custom actions in the *IntelliJ Platform*, you should perform two basic steps:
8
8
9
9
1. In your plugin, define an action or a system of actions that add their own items to menus and toolbars.
10
10
2. Register your actions.
11
11
12
-
This topic outlines the above steps. For detailed information and samples, refer to [IntelliJ IDEA Action System](/basics/action_system.md).
12
+
This topic outlines the above steps. For detailed information and samples, refer to [IntelliJ Platform Action System](/basics/action_system.md).
13
13
14
14
### Defining actions
15
15
@@ -46,7 +46,7 @@ Once you have defined an action or a system of actions, you must register them t
46
46
* Register actions in the `<actions>` section of the `plugin.xml` file.
47
47
* Register actions from Java code.
48
48
49
-
This section provides some examples that illustrate how to register actions. For more information, refer to [IntelliJ IDEA Action System](/basics/action_system.md).
49
+
This section provides some examples that illustrate how to register actions. For more information, refer to [IntelliJ Platform Action System](/basics/action_system.md).
50
50
51
51
#### Registering actions in the plugin.xml file
52
52
@@ -64,15 +64,15 @@ To register your actions, make appropriate changes to the `<actions>` section of
64
64
</actions>
65
65
```
66
66
67
-
This fragment of the plugin.xml file demonstrates only some elements you can use in the `<actions>` section to register your actions. For information about all elements designed to register your actions, refer to [IntelliJ IDEA Action System](/basics/action_system.md).
67
+
This fragment of the plugin.xml file demonstrates only some elements you can use in the `<actions>` section to register your actions. For information about all elements designed to register your actions, refer to [IntelliJ Platform Action System](/basics/action_system.md).
68
68
69
69
#### Registering actions from Java code
70
70
71
-
Alternatively, you can register your actions from Java code. For more information and samples that illustrate how to register actions from Java code, see [IntelliJ IDEA Action System](/basics/action_system.md).
71
+
Alternatively, you can register your actions from Java code. For more information and samples that illustrate how to register actions from Java code, see [IntelliJ Platform Action System](/basics/action_system.md).
72
72
73
73
### Quick creation of actions
74
74
75
-
IntelliJ IDEA provides the New Action wizard that suggests a simplified way of creating actions, with all the required infrastructure. The wizard helps you declare the action class and automatically makes appropriate changes to the `<actions>` section of the plugin.xml file.
75
+
The IntelliJ Platform provides the **New Action** wizard that suggests a simplified way of creating actions, with all the required infrastructure. The wizard helps you declare the action class and automatically makes appropriate changes to the `<actions>` section of the plugin.xml file.
76
76
77
77
Note that you can use this wizard only to add a new action to an existing action group on the main menu or toolbar. If you want to create a new action group, and then add an action to this group, follow instructions earlier in this document.
78
78
@@ -94,4 +94,4 @@ Note that you can use this wizard only to add a new action to an existing action
94
94
95
95

96
96
97
-
IntelliJ IDEA generates a `.java` file with the specified class name, registers the newly created action in the plugin.xml file, adds a node to the module tree view, and opens the created action class file in the editor.
97
+
The IntelliJ Platform generates a `.java` file with the specified class name, registers the newly created action in the plugin.xml file, adds a node to the module tree view, and opens the created action class file in the editor.
Copy file name to clipboardexpand all lines: basics/getting_started/creating_plugin_project.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Creating a Plugin Project
3
3
---
4
4
5
-
This section explains how you can create a new plugin project from scratch using the New Project wizard. Optionally, you can import an existing project or import a project from external models. You can also add a new plugin module to an existing *Intellij IDEA* project.
6
-
For more information, refer to the [Intellij IDEA Web Help](https://www.jetbrains.com/idea/help/new-project-wizard.html).
5
+
This section explains how you can create a new plugin project from scratch using the New Project wizard. Optionally, you can import an existing project or import a project from external models. You can also add a new plugin module to an existing *IntelliJ Platform* project.
6
+
For more information, refer to the [IntelliJ IDEA Web Help](https://www.jetbrains.com/idea/help/new-project-wizard.html).
* Copy the newly created archive file to the `.IntelliJIDEAx0\config\plugins` folder, and then restart IntelliJ IDEA so the changes take effect. To know how to locate your *plugins* directory, refer to [IDE Settings, Caches, Logs, and Plugins](/basics/settings_caches_logs.md).
18
+
* Copy the newly created archive file to the `.IntelliJIDEAx0\config\plugins` folder, and then restart your IDE so the changes may take effect. To know how to locate your *plugins* directory, refer to [IDE Settings, Caches, Logs, and Plugins](/basics/settings_caches_logs.md).
Copy file name to clipboardexpand all lines: basics/getting_started/running_and_debugging_a_plugin.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: Running and Debugging a Plugin
4
4
5
5
The *IntelliJ Platform* allows you to run and debug a plugin without leaving the IDE. To run or debug the plugin from within *IntelliJ IDEA*, you need a configured special profile (a Run/Debug configuration) that specifies the class to run, VM parameters and other specific options. In most cases, you can use the default *Run/Debug* configuration profiles for your plugin projects.
6
6
7
-
For information on how to change the Run/Debug configuration profile, refer to [Run/Debug Configuration](http://www.jetbrains.com/idea/help/run-debug-configuration.html) and [Run/Debug Configuration: Plugin](http://www.jetbrains.com/idea/help/run-debug-configuration-plugin.html) in *Intellij IDEA* Web Help.
7
+
For information on how to change the Run/Debug configuration profile, refer to [Run/Debug Configuration](http://www.jetbrains.com/idea/help/run-debug-configuration.html) and [Run/Debug Configuration: Plugin](http://www.jetbrains.com/idea/help/run-debug-configuration-plugin.html) in *IntelliJ IDEA* Web Help.
8
8
9
9
Using *IntelliJ IDEA*'s debugger, you can find out the origin of the run-time errors and exceptions.
Copy file name to clipboardexpand all lines: basics/plugin_structure/plugin_actions.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,6 @@
2
2
title: Plugin Actions
3
3
---
4
4
5
-
*Intellij IDEA* provides the concept of _actions_. An action is a class, derived from the [`AnAction`](upsource:///platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java) class, whose `actionPerformed` method is called when the menu item or toolbar button is selected.
5
+
The *Intellij Platform* provides the concept of _actions_. An action is a class, derived from the [`AnAction`](upsource:///platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java) class, whose `actionPerformed` method is called when the menu item or toolbar button is selected.
6
6
7
-
The system of actions allows plugins to add their own items to IDEA menus and toolbars. Actions are organized into groups, which, in turn, can contain other groups. A group of actions can form a toolbar or a menu. Subgroups of the group can form submenus of a menu. You can find detailed information on how to create and register your actions in [IntelliJ IDEA Action System](/basics/action_system.md).
7
+
The system of actions allows plugins to add their own items to IDEA menus and toolbars. Actions are organized into groups, which, in turn, can contain other groups. A group of actions can form a toolbar or a menu. Subgroups of the group can form submenus of a menu. You can find detailed information on how to create and register your actions in the [IntelliJ Platform Action System](/basics/action_system.md).
0 commit comments