mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
Replaced internal .html links with .md extension
Find: (\([^:\)]+\.)html\) Replace: $1md\)
This commit is contained in:
parent
8f2edb457b
commit
7b75f3ad99
18
basics.md
18
basics.md
@ -5,12 +5,12 @@ title: Quick Start Guide
|
||||
This section covers the basics of working with *IntelliJ Platform*.
|
||||
It will familiarize you with the working environment, project structure, and frequently used API components.
|
||||
|
||||
* [Main Types of IntelliJ IDEA Plugins](basics/types_of_plugins.html)
|
||||
* [Getting Started](basics/getting_started.html)
|
||||
* [Architectural Overview](basics/architectural_overview.html)
|
||||
* [Project Structure](basics/project_structure.html)
|
||||
* [Check Out And Build Community Edition](basics/checkout_and_build_community.html)
|
||||
* [IDE Settings, Caches, Logs, and Plugins](basics/settings_caches_logs.html)
|
||||
* [Indexing and PSI Stubs](basics/indexing_and_psi_stubs.html)
|
||||
* [Run Configurations](basics/run_configurations.html)
|
||||
* [Testing Plugins](basics/testing_plugins.html)
|
||||
* [Main Types of IntelliJ IDEA Plugins](basics/types_of_plugins.md)
|
||||
* [Getting Started](basics/getting_started.md)
|
||||
* [Architectural Overview](basics/architectural_overview.md)
|
||||
* [Project Structure](basics/project_structure.md)
|
||||
* [Check Out And Build Community Edition](basics/checkout_and_build_community.md)
|
||||
* [IDE Settings, Caches, Logs, and Plugins](basics/settings_caches_logs.md)
|
||||
* [Indexing and PSI Stubs](basics/indexing_and_psi_stubs.md)
|
||||
* [Run Configurations](basics/run_configurations.md)
|
||||
* [Testing Plugins](basics/testing_plugins.md)
|
||||
|
@ -147,7 +147,7 @@ public class MyPluginRegistration implements ApplicationComponent {
|
||||
```
|
||||
|
||||
Note, that the sample ```TextBoxes``` class is described in
|
||||
[Getting Started with Plugin Development](/basics/getting_started.html).
|
||||
[Getting Started with Plugin Development](/basics/getting_started.md).
|
||||
|
||||
To ensure that your plugin is initialized on IDEA start-up, make the following changes to the `<application-components>` section of the plugin.xml file:
|
||||
|
||||
|
@ -10,14 +10,14 @@ and then returning to this document.
|
||||
|
||||
The following subjects are covered:
|
||||
|
||||
* [General Threading Rules](architectural_overview/general_threading_rules.html)
|
||||
* [General Threading Rules](architectural_overview/general_threading_rules.md)
|
||||
|
||||
* [Virtual Files](architectural_overview/virtual_file.html)
|
||||
* [Virtual Files](architectural_overview/virtual_file.md)
|
||||
|
||||
* [Documents](architectural_overview/documents.html)
|
||||
* [Documents](architectural_overview/documents.md)
|
||||
|
||||
* [PSI Files](architectural_overview/psi_files.html)
|
||||
* [PSI Files](architectural_overview/psi_files.md)
|
||||
|
||||
* [File View Providers](architectural_overview/file_view_providers.html)
|
||||
* [File View Providers](architectural_overview/file_view_providers.md)
|
||||
|
||||
* [Psi Elements](architectural_overview/psi_elements.html)
|
||||
* [Psi Elements](architectural_overview/psi_elements.md)
|
||||
|
@ -21,4 +21,4 @@ Most likely you should use PsiTreeUtil.getParentOfType() to find the element you
|
||||
|
||||
## What can I do with PSI elements?
|
||||
|
||||
See [PSI Cook Book](/basics/psi_cookbook.html)
|
||||
See [PSI Cook Book](/basics/psi_cookbook.md)
|
||||
|
@ -12,14 +12,14 @@ To become more familiar with *IntelliJ IDEA*, please refer to
|
||||
|
||||
|
||||
|
||||
* [Setting Up a Development Environment](getting_started/setting_up_environment.html)
|
||||
* [Setting Up a Development Environment](getting_started/setting_up_environment.md)
|
||||
|
||||
* [Creating a Plugin Project](getting_started/creating_plugin_project.html)
|
||||
* [Creating a Plugin Project](getting_started/creating_plugin_project.md)
|
||||
|
||||
* [Build Number Ranges](getting_started/build_number_ranges.html)
|
||||
* [Build Number Ranges](getting_started/build_number_ranges.md)
|
||||
|
||||
* [Running and Debugging a Plugin](getting_started/running_and_debugging_a_plugin.html)
|
||||
* [Running and Debugging a Plugin](getting_started/running_and_debugging_a_plugin.md)
|
||||
|
||||
* [Deploying a Plugin](getting_started/deploying_plugin.html)
|
||||
* [Deploying a Plugin](getting_started/deploying_plugin.md)
|
||||
|
||||
* [Plugin Compatibility with IntelliJ Platform Products](getting_started/plugin_compatibility.html)
|
||||
* [Plugin Compatibility with IntelliJ Platform Products](getting_started/plugin_compatibility.md)
|
||||
|
@ -8,8 +8,8 @@ Plugin developers can use the existing indexes built by the IDE itself, as well
|
||||
|
||||
It supports two main types of indexes:
|
||||
|
||||
* [File-based indexes](/basics/indexing_and_psi_stubs/file_based_indexes.html)
|
||||
* [Stub indexes](/basics/indexing_and_psi_stubs/stub_indexes.html)
|
||||
* [File-based indexes](/basics/indexing_and_psi_stubs/file_based_indexes.md)
|
||||
* [Stub indexes](/basics/indexing_and_psi_stubs/stub_indexes.md)
|
||||
|
||||
File-based indexes are built directly over the content of files.
|
||||
Stub indexes are built over serialized *stub trees*.
|
||||
|
@ -5,18 +5,18 @@ title: Plugin Structure
|
||||
|
||||
Click the following topics to learn more about the plugin system structure and plugin lifecycles:
|
||||
|
||||
* [Plugin Content](plugin_structure/plugin_content.html)
|
||||
* [Plugin Content](plugin_structure/plugin_content.md)
|
||||
|
||||
* [Plugin Class Loaders](plugin_structure/plugin_class_loaders.html)
|
||||
* [Plugin Class Loaders](plugin_structure/plugin_class_loaders.md)
|
||||
|
||||
* [Plugin Components](plugin_structure/plugin_components.html)
|
||||
* [Plugin Components](plugin_structure/plugin_components.md)
|
||||
|
||||
* [Plugin Extensions and Extension Points](plugin_structure/plugin_extensions_and_extension_points.html)
|
||||
* [Plugin Extensions and Extension Points](plugin_structure/plugin_extensions_and_extension_points.md)
|
||||
|
||||
* [Plugin Actions](plugin_structure/plugin_actions.html)
|
||||
* [Plugin Actions](plugin_structure/plugin_actions.md)
|
||||
|
||||
* [Plugin Services](plugin_structure/plugin_services.html)
|
||||
* [Plugin Services](plugin_structure/plugin_services.md)
|
||||
|
||||
* [Plugin Configuration File](plugin_structure/plugin_configuration_file.html)
|
||||
* [Plugin Configuration File](plugin_structure/plugin_configuration_file.md)
|
||||
|
||||
* [Plugin Dependencies](plugin_structure/plugin_dependencies.html)
|
||||
* [Plugin Dependencies](plugin_structure/plugin_dependencies.md)
|
||||
|
@ -153,7 +153,7 @@ However, if the workspace option in the plugin.xml file is set to _true_, the co
|
||||
* Module-level components save their state to the module (.iml) file.
|
||||
|
||||
For more information and samples, refer to
|
||||
[Persisting State of Components](/basics/persisting_state_of_components.html).
|
||||
[Persisting State of Components](/basics/persisting_state_of_components.md).
|
||||
|
||||
### Defaults
|
||||
|
||||
|
@ -4,7 +4,7 @@ title: PSI Cookbook
|
||||
|
||||
|
||||
This page gives a list of recipes for the most common operations for working with the PSI (Program Structure Interface) of IntelliJ Platform. Unlike
|
||||
[Developing Custom Language Plugins](/reference_guide/custom_language_support.html),
|
||||
[Developing Custom Language Plugins](/reference_guide/custom_language_support.md),
|
||||
it talks about working with the PSI of existing languages (such as Java).
|
||||
|
||||
### How do I find a file if I know its name but don't know the path?
|
||||
|
@ -11,10 +11,10 @@ You can provide UI for the user to specify execution options, as well as an opti
|
||||
|
||||
Classes used to manipulate *IntelliJ IDEA's* run configurations can be split into the following groups:
|
||||
|
||||
* [Run configuration management](/basics/run_configurations/run_configuration_management.html)
|
||||
* [Run configuration management](/basics/run_configurations/run_configuration_management.md)
|
||||
This includes creation, persistence, and modification.
|
||||
|
||||
* [Execution](/basics/run_configurations/run_configuration_execution.html)
|
||||
* [Execution](/basics/run_configurations/run_configuration_execution.md)
|
||||
|
||||
This diagram shows the main classes related to **IntelliJ IDEA** run configurations
|
||||
|
||||
|
@ -29,14 +29,14 @@ for plugin UI testing, but we don't use either of them and cannot provide any gu
|
||||
Internally, we use manual testing for testing our Swing UIs.
|
||||
|
||||
|
||||
* [Tests and Fixtures](/basics/testing_plugins/tests_and_fixtures.html)
|
||||
* [Light and Heavy Tests](/basics/testing_plugins/light_and_heavy_tests.html)
|
||||
* [Test Project and Testdata Directories](/basics/testing_plugins/test_project_and_testdata_directories.html)
|
||||
* [Writing Tests](/basics/testing_plugins/writing_tests.html)
|
||||
* [Testing Highlighting](/basics/testing_plugins/testing_highlighting.html)
|
||||
* [Tests and Fixtures](/basics/testing_plugins/tests_and_fixtures.md)
|
||||
* [Light and Heavy Tests](/basics/testing_plugins/light_and_heavy_tests.md)
|
||||
* [Test Project and Testdata Directories](/basics/testing_plugins/test_project_and_testdata_directories.md)
|
||||
* [Writing Tests](/basics/testing_plugins/writing_tests.md)
|
||||
* [Testing Highlighting](/basics/testing_plugins/testing_highlighting.md)
|
||||
|
||||
|
||||
Check out
|
||||
[this step-by-step tutorial](/tutorials/writing_tests_for_plugins.html)
|
||||
[this step-by-step tutorial](/tutorials/writing_tests_for_plugins.md)
|
||||
teaching how to write and run automated tests for your custom language plugin (source code included).
|
||||
|
||||
|
@ -28,7 +28,7 @@ Custom language support provides basic functionality for working with a particul
|
||||
* Intention actions
|
||||
|
||||
Refer to the
|
||||
[Custom Language Support Tutorial](/tutorials/custom_language_support_tutorial.html)
|
||||
[Custom Language Support Tutorial](/tutorials/custom_language_support_tutorial.md)
|
||||
to learn more about the topic.
|
||||
|
||||
## Framework Integration
|
||||
|
10
index.md
10
index.md
@ -5,18 +5,18 @@ title: IntelliJ Platform SDK Documentation
|
||||
|
||||
## Welcome to the IntelliJ Platform SDK Documentation!
|
||||
|
||||
Here you can find [basic information](basics.html) about the *IntelliJ Platform SDK*, in particular how to
|
||||
**[get started](basics/getting_started.html)** with developing plugins for IntelliJ IDEA and other JetBrains IDEs.
|
||||
Here you can find [basic information](basics.md) about the *IntelliJ Platform SDK*, in particular how to
|
||||
**[get started](basics/getting_started.md)** with developing plugins for IntelliJ IDEA and other JetBrains IDEs.
|
||||
|
||||
More details about specific development topics can be found in the
|
||||
[Architecture Reference Guide](reference_guide.html).
|
||||
[Architecture Reference Guide](reference_guide.md).
|
||||
|
||||
A set of
|
||||
**[step-by-step tutorials](tutorials.html)**
|
||||
**[step-by-step tutorials](tutorials.md)**
|
||||
with code samples will lead you through the common use cases for *IntelliJ Platform SDK*.
|
||||
|
||||
|
||||
The [Plugin Development FAQ](faq.html)
|
||||
The [Plugin Development FAQ](faq.md)
|
||||
section contains a series of issues commonly discussed on our
|
||||
[Open API and Plugin Development](https://devnet.jetbrains.com/community/idea/open_api_and_plugin_development) forums.
|
||||
|
||||
|
@ -4,16 +4,16 @@ title: Architecture Reference Guide
|
||||
|
||||
This documentation section contains more in-depth explanation of different API components.
|
||||
If you are not familiar with *IntelliJ Platform* API please refer to
|
||||
[Basics](basics.html)
|
||||
[Basics](basics.md)
|
||||
section.
|
||||
|
||||
* [Project Model](reference_guide/project_model.html)
|
||||
* [Project Wizard](reference_guide/project_wizard.html)
|
||||
* [Custom Language Support](reference_guide/custom_language_support.html)
|
||||
* [Frameworks and External APIs](reference_guide/frameworks_and_external_apis.html)
|
||||
* [VCS Integration Plugins](reference_guide/vcs_integration_for_plugins.html)
|
||||
* [Localization Guide](reference_guide/localization_guide.html)
|
||||
* [Messaging Infrastructure](reference_guide/messaging_infrastructure.html)
|
||||
* [Multiple Carets](reference_guide/multiple_carets.html)
|
||||
* [Color Scheme Management](reference_guide/color_scheme_management.html)
|
||||
* [User Interface Components](user_interface_components/user_interface_components.html)
|
||||
* [Project Model](reference_guide/project_model.md)
|
||||
* [Project Wizard](reference_guide/project_wizard.md)
|
||||
* [Custom Language Support](reference_guide/custom_language_support.md)
|
||||
* [Frameworks and External APIs](reference_guide/frameworks_and_external_apis.md)
|
||||
* [VCS Integration Plugins](reference_guide/vcs_integration_for_plugins.md)
|
||||
* [Localization Guide](reference_guide/localization_guide.md)
|
||||
* [Messaging Infrastructure](reference_guide/messaging_infrastructure.md)
|
||||
* [Multiple Carets](reference_guide/multiple_carets.md)
|
||||
* [Color Scheme Management](reference_guide/color_scheme_management.md)
|
||||
* [User Interface Components](user_interface_components/user_interface_components.md)
|
@ -14,26 +14,26 @@ source code.
|
||||
|
||||
|
||||
If you prefer a full example to the detailed description offered on this page, please check out a step-by-step tutorial how to define custom language support on example of ".properties" files:
|
||||
[Custom Language Support Tutorial](/tutorials/custom_language_support_tutorial.html)
|
||||
[Custom Language Support Tutorial](/tutorials/custom_language_support_tutorial.md)
|
||||
|
||||
Providing custom language support includes the following major steps:
|
||||
|
||||
* [Registering File Type](/reference_guide/custom_language_support/registering_file_type.html)
|
||||
* [Implementing Lexer](/reference_guide/custom_language_support/implementing_lexer.html)
|
||||
* [Implementing Parser and PSI](/reference_guide/custom_language_support/implementing_parser_and_psi.html)
|
||||
* [Syntax Highlighting and Error Highlighting](/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.html)
|
||||
* [References and Resolve](/reference_guide/custom_language_support/references_and_resolve.html)
|
||||
* [Code Completion](/reference_guide/custom_language_support/code_completion.html)
|
||||
* [Find Usages](/reference_guide/custom_language_support/find_usages.html)
|
||||
* [Rename Refactoring](/reference_guide/custom_language_support/rename_refactoring.html)
|
||||
* [Safe Delete Refactoring](/reference_guide/custom_language_support/safe_delete_refactoring.html)
|
||||
* [Code Formatter](/reference_guide/custom_language_support/code_formatting.html)
|
||||
* [Code Inspections and Intentions](/reference_guide/custom_language_support/code_inspections_and_intentions.html)
|
||||
* [Structure View](/reference_guide/custom_language_support/structure_view.html)
|
||||
* [Surround With](/reference_guide/custom_language_support/surround_with.html)
|
||||
* [Go to Class and Go to Symbol](/reference_guide/custom_language_support/go_to_class_and_go_to_symbol.html)
|
||||
* [Documentation](/reference_guide/custom_language_support/documentation.html)
|
||||
* [Additional Minor Features](/reference_guide/custom_language_support/additional_minor_features.html)
|
||||
* [Registering File Type](/reference_guide/custom_language_support/registering_file_type.md)
|
||||
* [Implementing Lexer](/reference_guide/custom_language_support/implementing_lexer.md)
|
||||
* [Implementing Parser and PSI](/reference_guide/custom_language_support/implementing_parser_and_psi.md)
|
||||
* [Syntax Highlighting and Error Highlighting](/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.md)
|
||||
* [References and Resolve](/reference_guide/custom_language_support/references_and_resolve.md)
|
||||
* [Code Completion](/reference_guide/custom_language_support/code_completion.md)
|
||||
* [Find Usages](/reference_guide/custom_language_support/find_usages.md)
|
||||
* [Rename Refactoring](/reference_guide/custom_language_support/rename_refactoring.md)
|
||||
* [Safe Delete Refactoring](/reference_guide/custom_language_support/safe_delete_refactoring.md)
|
||||
* [Code Formatter](/reference_guide/custom_language_support/code_formatting.md)
|
||||
* [Code Inspections and Intentions](/reference_guide/custom_language_support/code_inspections_and_intentions.md)
|
||||
* [Structure View](/reference_guide/custom_language_support/structure_view.md)
|
||||
* [Surround With](/reference_guide/custom_language_support/surround_with.md)
|
||||
* [Go to Class and Go to Symbol](/reference_guide/custom_language_support/go_to_class_and_go_to_symbol.md)
|
||||
* [Documentation](/reference_guide/custom_language_support/documentation.md)
|
||||
* [Additional Minor Features](/reference_guide/custom_language_support/additional_minor_features.md)
|
||||
|
||||
|
||||
Please ask questions or suggest missing topics in [plugin development forum](https://devnet.jetbrains.com/community/idea/open_api_and_plugin_development).
|
||||
|
@ -5,6 +5,6 @@ title: Frameworks and External APIs
|
||||
The following section explains how to access components of external frameworks from inside the *IntelliJ Platform*.
|
||||
This includes:
|
||||
|
||||
* [XML DOM API](/reference_guide/frameworks_and_external_apis/xml_dom_api.html)
|
||||
* [Spring API](/reference_guide/frameworks_and_external_apis/spring_api.html)
|
||||
* [External Builder API and Plugins](/reference_guide/frameworks_and_external_apis/external_builder_api.html)
|
||||
* [XML DOM API](/reference_guide/frameworks_and_external_apis/xml_dom_api.md)
|
||||
* [Spring API](/reference_guide/frameworks_and_external_apis/spring_api.md)
|
||||
* [External Builder API and Plugins](/reference_guide/frameworks_and_external_apis/external_builder_api.md)
|
||||
|
@ -81,7 +81,7 @@ _Version 14_: ```com.intellij.spring.model.utils.SpringModelSearchers#doesBeanEx
|
||||
_Version 14_: implement ```SpringInfrastructureBean```, such beans obtain special icon and can be filtered in various places in UI
|
||||
|
||||
### XML Configuration
|
||||
All support for XML-based Spring configuration files is provided via [DOM-API](xml_dom_api.html).
|
||||
All support for XML-based Spring configuration files is provided via [DOM-API](xml_dom_api.md).
|
||||
|
||||
##### Add support for additional Spring namespace
|
||||
See EP ```com.intellij.spring.dom.SpringCustomNamespaces```, registered namespace-key must match the one registered with your DOM elements via ```@Namespace```.
|
||||
|
@ -24,15 +24,15 @@ This document explains how you can explore and change the structure of projects
|
||||
|
||||
Main project structure components are:
|
||||
|
||||
* [Project](/reference_guide/project_model/project.html)
|
||||
* [Project](/reference_guide/project_model/project.md)
|
||||
itself
|
||||
|
||||
* [Module](/reference_guide/project_model/module.html)
|
||||
* [Module](/reference_guide/project_model/module.md)
|
||||
|
||||
* [SDK](/reference_guide/project_model/sdk.html)
|
||||
* [SDK](/reference_guide/project_model/sdk.md)
|
||||
|
||||
* [Library](/reference_guide/project_model/library.html)
|
||||
* [Library](/reference_guide/project_model/library.md)
|
||||
|
||||
* [Facet](/reference_guide/project_model/facet.html)
|
||||
* [Facet](/reference_guide/project_model/facet.md)
|
||||
|
||||
|
||||
|
@ -133,7 +133,7 @@ which has two methods to be overridden:
|
||||
|
||||
Facets in IntelliJ are the way to store multiple kinds of module-specific settings, for instance to make a language support or framework available in some given module.
|
||||
To understand facets better from the point of view of an end-user, please see
|
||||
[Facet](/reference_guide/project_model/facet.html)
|
||||
[Facet](/reference_guide/project_model/facet.md)
|
||||
documentation section.
|
||||
|
||||
|
||||
|
22
tutorials.md
22
tutorials.md
@ -5,20 +5,20 @@ title: Tutorials
|
||||
This section contains a set of step-by-step tutorials which some aspects of work with *IntelliJ Platform*.
|
||||
|
||||
To set up development environment and get started please refer to the
|
||||
[Basics](basics.html) section.
|
||||
[Basics](basics.md) section.
|
||||
|
||||
More detailed explanation of the API components can be found in the
|
||||
[Architecture Reference Guide](reference_guide.html).
|
||||
[Architecture Reference Guide](reference_guide.md).
|
||||
|
||||
|
||||
**List of Tutorials:**
|
||||
|
||||
* [Custom Language Support](tutorials/custom_language_support_tutorial.html)
|
||||
* [Writing Tests For Plugins](tutorials/writing_tests_for_plugins.html)
|
||||
* [Action System](tutorials/action_system.html)
|
||||
* [Editor Basics](tutorials/editor_basics.html)
|
||||
* [Project Wizard](tutorials/project_wizard.html)
|
||||
* [Code Inspections](tutorials/code_inspections.html)
|
||||
* [Run Configurations](tutorials/run_configurations.html)
|
||||
* [Supporting Frameworks](tutorials/framework.html)
|
||||
* [Tree Structure View](tutorials/tree_structure_view.html)
|
||||
* [Custom Language Support](tutorials/custom_language_support_tutorial.md)
|
||||
* [Writing Tests For Plugins](tutorials/writing_tests_for_plugins.md)
|
||||
* [Action System](tutorials/action_system.md)
|
||||
* [Editor Basics](tutorials/editor_basics.md)
|
||||
* [Project Wizard](tutorials/project_wizard.md)
|
||||
* [Code Inspections](tutorials/code_inspections.md)
|
||||
* [Run Configurations](tutorials/run_configurations.md)
|
||||
* [Supporting Frameworks](tutorials/framework.md)
|
||||
* [Tree Structure View](tutorials/tree_structure_view.md)
|
@ -9,8 +9,8 @@ Action can either be simply a response to some state, or be bound to UI element
|
||||
These UI elements include main menu, context menus, and toolbars.
|
||||
|
||||
|
||||
* [Working With Custom Actions](action_system/working_with_custom_actions.html)
|
||||
* [Grouping Action](action_system/grouping_action.html)
|
||||
* [Working With Custom Actions](action_system/working_with_custom_actions.md)
|
||||
* [Grouping Action](action_system/grouping_action.md)
|
||||
|
||||
|
||||
[Plugin source code](https://github.com/JetBrains/intellij-sdk-docs/tree/master/code_samples/register_actions)
|
||||
|
@ -80,7 +80,7 @@ If we type an undefined property name, it will annotate the code with a error.
|
||||
|
||||

|
||||
|
||||
[Previous](psi_helper_and_utilities.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](line_marker_provider.html)
|
||||
[Previous](psi_helper_and_utilities.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](line_marker_provider.md)
|
||||
|
||||
|
@ -133,6 +133,6 @@ public class SimpleLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSe
|
||||
|
||||

|
||||
|
||||
[Previous](formatter.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](commenter.html)
|
||||
[Previous](formatter.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](commenter.md)
|
||||
|
@ -55,7 +55,7 @@ public class SimpleCommenter implements Commenter {
|
||||
|
||||

|
||||
|
||||
[Previous](code_style_settings.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](quick_fix.html)
|
||||
[Previous](code_style_settings.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](quick_fix.md)
|
||||
|
||||
|
@ -45,9 +45,9 @@ public class SimpleCompletionContributor extends CompletionContributor {
|
||||
|
||||

|
||||
|
||||
[Previous](line_marker_provider.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](reference_contributor.html)
|
||||
[Previous](line_marker_provider.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](reference_contributor.md)
|
||||
|
||||
|
||||
|
||||
|
@ -90,6 +90,6 @@ Now we can call *Find Usages* for any property with a reference.
|
||||
|
||||

|
||||
|
||||
[Previous](reference_contributor.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](folding_builder.html)
|
||||
[Previous](reference_contributor.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](folding_builder.md)
|
||||
|
@ -83,8 +83,8 @@ Now when we open a Java file, it shows the property's value instead of the key.
|
||||
|
||||

|
||||
|
||||
[Previous](find_usages_provider.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](go_to_symbol_contributor.html)
|
||||
[Previous](find_usages_provider.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](go_to_symbol_contributor.md)
|
||||
|
||||
|
||||
|
@ -121,9 +121,9 @@ Now add some extra spaces and reformat the code via *⌥⌘L* shortcut.
|
||||
|
||||

|
||||
|
||||
[Previous](structure_view_factory.html)
|
||||
[Previous](structure_view_factory.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](code_style_settings.html)
|
||||
[Next](code_style_settings.md)
|
||||
|
||||
|
||||
|
||||
|
@ -91,6 +91,6 @@ Now we can navigate to a property definition by name pattern via *⌥⌘⇧N* sh
|
||||
|
||||

|
||||
|
||||
[Previous](folding_builder.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](structure_view_factory.html)
|
||||
[Previous](folding_builder.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](structure_view_factory.md)
|
||||
|
@ -83,8 +83,8 @@ Mark this folder as a source root and make sure everything is compiled without e
|
||||

|
||||
|
||||
-------
|
||||
[Previous](language_and_filetype.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](lexer_and_parser_definition.html)
|
||||
[Previous](language_and_filetype.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](lexer_and_parser_definition.md)
|
||||
|
||||
|
||||
|
@ -111,6 +111,6 @@ and IntelliJ IDEA will automatically associate it with our language.
|
||||
|
||||

|
||||
|
||||
[Previous](prerequisites.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](grammar_and_parser.html)
|
||||
[Previous](prerequisites.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](grammar_and_parser.md)
|
||||
|
@ -231,7 +231,7 @@ Now open the *PsiViewer* tool window and check how the lexer brake the content o
|
||||
|
||||
----------------
|
||||
|
||||
[Previous](grammar_and_parser.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](syntax_highlighter_and_color_settings_page.html)
|
||||
[Previous](grammar_and_parser.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](syntax_highlighter_and_color_settings_page.md)
|
||||
|
||||
|
@ -108,6 +108,6 @@ Now you see the icon on the gutter and can navigate to the property definition.
|
||||
|
||||
--------------
|
||||
|
||||
[Previous](annotator.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](completion_contributor.html)
|
||||
[Previous](annotator.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](completion_contributor.md)
|
||||
|
@ -42,6 +42,6 @@ Create an IntelliJ IDEA Plugin project and specify IntelliJ IDEA Plugin SDK.
|
||||
|
||||

|
||||
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](language_and_filetype.html)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](language_and_filetype.md)
|
||||
|
||||
|
@ -136,7 +136,7 @@ public class SimpleUtil {
|
||||
```
|
||||
|
||||
----------------
|
||||
[Previous](syntax_highlighter_and_color_settings_page.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](annotator.html)
|
||||
[Previous](syntax_highlighter_and_color_settings_page.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](annotator.md)
|
||||
|
||||
|
@ -174,6 +174,6 @@ Now let's try to use a property which is not defined yet.
|
||||
|
||||

|
||||
|
||||
[Previous](commenter.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Previous](commenter.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
|
||||
|
@ -240,9 +240,9 @@ public class SimpleRefactoringSupportProvider extends RefactoringSupportProvider
|
||||
|
||||

|
||||
|
||||
[Previous](completion_contributor.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](find_usages_provider.html)
|
||||
[Previous](completion_contributor.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](find_usages_provider.md)
|
||||
|
||||
|
||||
|
||||
|
@ -157,6 +157,6 @@ public class SimpleStructureViewElement implements StructureViewTreeElement, Sor
|
||||
|
||||

|
||||
|
||||
[Previous](go_to_symbol_contributor.html)
|
||||
[Previous](go_to_symbol_contributor.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](formatter.html)
|
||||
[Next](formatter.md)
|
||||
|
@ -186,8 +186,8 @@ public class SimpleColorSettingsPage implements ColorSettingsPage {
|
||||
|
||||
-----------
|
||||
|
||||
[Previous](lexer_and_parser_definition.html)
|
||||
[Top](../custom_language_support_tutorial.html)
|
||||
[Next](psi_helper_and_utilities.html)
|
||||
[Previous](lexer_and_parser_definition.md)
|
||||
[Top](../custom_language_support_tutorial.md)
|
||||
[Next](psi_helper_and_utilities.md)
|
||||
|
||||
|
||||
|
@ -13,24 +13,24 @@ The lexer class will be generated with
|
||||
|
||||
This a step-by-step tutorial and it requires performing every step:
|
||||
|
||||
* [1. Prerequisites](custom_language_support/prerequisites.html)
|
||||
* [2. Language and File Type](custom_language_support/language_and_filetype.html)
|
||||
* [3. Grammar and Parser](custom_language_support/grammar_and_parser.html)
|
||||
* [4. Lexer and Parser Definition](custom_language_support/lexer_and_parser_definition.html)
|
||||
* [5. Syntax Highlighter and Color Settings Page](custom_language_support/syntax_highlighter_and_color_settings_page.html)
|
||||
* [6. PSI Helpers and Utilities](custom_language_support/psi_helper_and_utilities.html)
|
||||
* [7. Annotator](custom_language_support/annotator.html)
|
||||
* [8. Line Marker Provider](custom_language_support/line_marker_provider.html)
|
||||
* [9. Completion Contributor](custom_language_support/completion_contributor.html)
|
||||
* [10. Reference Contributor](custom_language_support/reference_contributor.html)
|
||||
* [11. Find Usages Provider](custom_language_support/find_usages_provider.html)
|
||||
* [12. Folding Builder](custom_language_support/folding_builder.html)
|
||||
* [13. Go To Symbol Contributor](custom_language_support/go_to_symbol_contributor.html)
|
||||
* [14. Structure View Factory](custom_language_support/structure_view_factory.html)
|
||||
* [15. Formatter](custom_language_support/formatter.html)
|
||||
* [16. Code Style Settings](custom_language_support/code_style_settings.html)
|
||||
* [17. Commenter](custom_language_support/commenter.html)
|
||||
* [18. Quick Fix](custom_language_support/quick_fix.html)
|
||||
* [1. Prerequisites](custom_language_support/prerequisites.md)
|
||||
* [2. Language and File Type](custom_language_support/language_and_filetype.md)
|
||||
* [3. Grammar and Parser](custom_language_support/grammar_and_parser.md)
|
||||
* [4. Lexer and Parser Definition](custom_language_support/lexer_and_parser_definition.md)
|
||||
* [5. Syntax Highlighter and Color Settings Page](custom_language_support/syntax_highlighter_and_color_settings_page.md)
|
||||
* [6. PSI Helpers and Utilities](custom_language_support/psi_helper_and_utilities.md)
|
||||
* [7. Annotator](custom_language_support/annotator.md)
|
||||
* [8. Line Marker Provider](custom_language_support/line_marker_provider.md)
|
||||
* [9. Completion Contributor](custom_language_support/completion_contributor.md)
|
||||
* [10. Reference Contributor](custom_language_support/reference_contributor.md)
|
||||
* [11. Find Usages Provider](custom_language_support/find_usages_provider.md)
|
||||
* [12. Folding Builder](custom_language_support/folding_builder.md)
|
||||
* [13. Go To Symbol Contributor](custom_language_support/go_to_symbol_contributor.md)
|
||||
* [14. Structure View Factory](custom_language_support/structure_view_factory.md)
|
||||
* [15. Formatter](custom_language_support/formatter.md)
|
||||
* [16. Code Style Settings](custom_language_support/code_style_settings.md)
|
||||
* [17. Commenter](custom_language_support/commenter.md)
|
||||
* [18. Quick Fix](custom_language_support/quick_fix.md)
|
||||
|
||||
The final code can be found in the [SamplePlugin repo on GitHub](https://github.com/JetBrains/SimplePlugin).
|
||||
|
||||
|
@ -10,9 +10,9 @@ title: Basics of working with the Editor
|
||||
This tutorial will lead you through the series of steps showing how to work with the Editor in IntelliJ IDEA, how access and modify text it contains,
|
||||
and how to handle events sent to the Editor.
|
||||
|
||||
* [1. Working With Text](editor_basics/working_with_text.html)
|
||||
* [2. Editor coordinates system. Positions and offsets](editor_basics/coordinates_system.html)
|
||||
* [3. Handling Editor Events](editor_basics/editor_events.html)
|
||||
* [1. Working With Text](editor_basics/working_with_text.md)
|
||||
* [2. Editor coordinates system. Positions and offsets](editor_basics/coordinates_system.md)
|
||||
* [3. Handling Editor Events](editor_basics/editor_events.md)
|
||||
|
||||
**Note:** The described part of the API allows to operate only with text.
|
||||
If you need to access PSI please see
|
||||
|
@ -6,8 +6,8 @@ This set of tutorials shows how to manipulate the process of project creation.
|
||||
Configuring Project Wizard automatically allows you to do the following:
|
||||
|
||||
|
||||
1. [Adding New Steps to Project Wizard](project_wizard/adding_new_steps.html)
|
||||
2. [Supporting Module Types](project_wizard/module_types.html)
|
||||
1. [Adding New Steps to Project Wizard](project_wizard/adding_new_steps.md)
|
||||
2. [Supporting Module Types](project_wizard/module_types.md)
|
||||
3. Handling activities during project creation
|
||||
4. Initial environment configuration
|
||||
|
||||
|
@ -8,7 +8,7 @@ This tutorial shows how to add a extra-step to the Project Wizard in order to pr
|
||||
|
||||
Create an empty plugin project.
|
||||
See
|
||||
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.html)
|
||||
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.md)
|
||||
to know how to do it.
|
||||
|
||||
## 1. Register Module Builder
|
||||
|
@ -9,7 +9,7 @@ This tutorial shows how to register a new module and link it to the project crea
|
||||
|
||||
Create an empty plugin project.
|
||||
See
|
||||
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.html)
|
||||
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.md)
|
||||
to know how to do it.
|
||||
|
||||
## 1. Register a New Module Type
|
||||
|
@ -14,7 +14,7 @@ section of
|
||||
|
||||
Create an empty plugin project.
|
||||
See
|
||||
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.html)
|
||||
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.md)
|
||||
to know how to do it.
|
||||
|
||||
## 1. Register a New Configuration Type
|
||||
@ -171,7 +171,7 @@ public class DemoSettingsEditor extends SettingsEditor<DemoRunConfiguration> {
|
||||
## 7. Compile and Run the Plugin
|
||||
|
||||
Refer to
|
||||
[Running and Debugging a Plugin](/basics/getting_started/running_and_debugging_a_plugin.html)
|
||||
[Running and Debugging a Plugin](/basics/getting_started/running_and_debugging_a_plugin.md)
|
||||
section to know how this could be done.
|
||||
|
||||
After going through the steps described above you can create a custom Run Configuration
|
||||
|
@ -14,7 +14,7 @@ Series of step below show how to filter out and keep visible only text files and
|
||||
|
||||
Create an empty plugin project.
|
||||
See
|
||||
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.html)
|
||||
[Creating a Plugin Project](/basics/getting_started/creating_plugin_project.md)
|
||||
to know how to do it.
|
||||
|
||||
## 1. Register Custom TreeStructureView Provider
|
||||
@ -73,7 +73,7 @@ public Collection<AbstractTreeNode> modify(@NotNull AbstractTreeNode parent, @No
|
||||
|
||||
Compile and run the code sample from this tutorial.
|
||||
Refer to
|
||||
[Running and Debugging a Plugin](/basics/getting_started/running_and_debugging_a_plugin.html)
|
||||
[Running and Debugging a Plugin](/basics/getting_started/running_and_debugging_a_plugin.md)
|
||||
section to know how this could be done.
|
||||
|
||||
After going through the steps described above you can see only text files and directories belonging to a project in the Project View.
|
||||
|
@ -7,15 +7,15 @@ In this tutorial you will learn how to write and run automated tests for your pl
|
||||
|
||||
As an example we will take the plugin implemented in the [Custom Language Support](/tutorials/custom_language_support_tutorial.md) and cover its code with functional tests.
|
||||
|
||||
* [1. Tests Prerequisites](writing_tests_for_plugins/tests_prerequisites.html)
|
||||
* [2. Parsing Test](writing_tests_for_plugins/parsing_test.html)
|
||||
* [3. Completion Test](writing_tests_for_plugins/completion_test.html)
|
||||
* [4. Annotator Test](writing_tests_for_plugins/annotator_test.html)
|
||||
* [5. Formatter Test](writing_tests_for_plugins/formatter_test.html)
|
||||
* [6. Rename Test](writing_tests_for_plugins/rename_test.html)
|
||||
* [7. Folding Test](writing_tests_for_plugins/folding_test.html)
|
||||
* [8. Find Usages Test](writing_tests_for_plugins/find_usages_test.html)
|
||||
* [9. Commenter Test](writing_tests_for_plugins/commenter_test.html)
|
||||
* [10. Reference Test](writing_tests_for_plugins/reference_test.html)
|
||||
* [1. Tests Prerequisites](writing_tests_for_plugins/tests_prerequisites.md)
|
||||
* [2. Parsing Test](writing_tests_for_plugins/parsing_test.md)
|
||||
* [3. Completion Test](writing_tests_for_plugins/completion_test.md)
|
||||
* [4. Annotator Test](writing_tests_for_plugins/annotator_test.md)
|
||||
* [5. Formatter Test](writing_tests_for_plugins/formatter_test.md)
|
||||
* [6. Rename Test](writing_tests_for_plugins/rename_test.md)
|
||||
* [7. Folding Test](writing_tests_for_plugins/folding_test.md)
|
||||
* [8. Find Usages Test](writing_tests_for_plugins/find_usages_test.md)
|
||||
* [9. Commenter Test](writing_tests_for_plugins/commenter_test.md)
|
||||
* [10. Reference Test](writing_tests_for_plugins/reference_test.md)
|
||||
|
||||
The final code can be found on [GitHub](https://github.com/cheptsov/SimplePlugin).
|
||||
|
@ -3,9 +3,9 @@ title: 4. Annotator Test
|
||||
---
|
||||
|
||||
In this test we will check if the annotator, implemented in the
|
||||
[Annotator](../custom_language_support/annotator.html) section
|
||||
[Annotator](../custom_language_support/annotator.md) section
|
||||
of the
|
||||
[Custom Language Support Tutorial](../custom_language_support_tutorial.html)
|
||||
[Custom Language Support Tutorial](../custom_language_support_tutorial.md)
|
||||
works as we expect.
|
||||
|
||||
### 4.1. Define test data
|
||||
@ -36,7 +36,7 @@ Run the test and make sure it's green.
|
||||
|
||||
-----
|
||||
|
||||
[Previous](completion_test.html)
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Next](formatter_test.html)
|
||||
[Previous](completion_test.md)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
[Next](formatter_test.md)
|
||||
|
||||
|
@ -23,8 +23,8 @@ Run the test and make sure it's green.
|
||||
|
||||
-----
|
||||
|
||||
[Previous](find_usages_test.html)
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Next](reference_test.html)
|
||||
[Previous](find_usages_test.md)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
[Next](reference_test.md)
|
||||
|
||||
|
||||
|
@ -68,7 +68,7 @@ Run the test and make sure it's green.
|
||||
|
||||
-----
|
||||
|
||||
[Previous](parsing_test.html)
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Next](annotator_test.html)
|
||||
[Previous](parsing_test.md)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
[Next](annotator_test.md)
|
||||
|
||||
|
@ -53,6 +53,6 @@ Run the test and make sure it's green.
|
||||
|
||||
-----
|
||||
|
||||
[Previous](folding_test.html)
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Next](commenter_test.html)
|
||||
[Previous](folding_test.md)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
[Next](commenter_test.md)
|
||||
|
@ -35,6 +35,6 @@ Run the test and make sure it's green.
|
||||
|
||||
-----
|
||||
|
||||
[Previous](rename_test.html)
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Next](find_usages_test.html)
|
||||
[Previous](rename_test.md)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
[Next](find_usages_test.md)
|
||||
|
@ -50,6 +50,6 @@ Run the test and make sure it's green.
|
||||
|
||||
-----
|
||||
|
||||
[Previous](annotator_test.html)
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Next](rename_test.html)
|
||||
[Previous](annotator_test.md)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
[Next](rename_test.md)
|
||||
|
@ -132,7 +132,7 @@ Run the test and make sure it's green.
|
||||
|
||||
-----
|
||||
|
||||
[Previous](tests_prerequisites.html)
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Next](completion_test.html)
|
||||
[Previous](tests_prerequisites.md)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
[Next](completion_test.md)
|
||||
|
||||
|
@ -37,8 +37,8 @@ Run the test and make sure it's green.
|
||||
|
||||
-----
|
||||
|
||||
[Previous](commenter_test.html)
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Previous](commenter_test.md)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
|
||||
|
||||
|
||||
|
@ -72,8 +72,8 @@ public void testRename() {
|
||||
|
||||
Run the test and make sure it's green.
|
||||
|
||||
[Previous](formatter_test.html)
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Next](folding_test.html)
|
||||
[Previous](formatter_test.md)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
[Next](folding_test.md)
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@ All we need to do is to point the working directory of the run configuration to
|
||||
> will use relative path to the _source root_ of IntelliJ IDEA Community Edition.
|
||||
|
||||
-----
|
||||
[Top](../writing_tests_for_plugins.html)
|
||||
[Next](parsing_test.html)
|
||||
[Top](../writing_tests_for_plugins.md)
|
||||
[Next](parsing_test.md)
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@ class use native UI.
|
||||
The ```showCheckboxMessageDialog()``` function provides an easy way to implement a ```Do not show this again``` checkbox on messages.
|
||||
|
||||
Note that it is recommended to use non-modal notifications instead of modal message boxes whenever it's appropriate.
|
||||
Please refer to the [Notifications](notifications.html) topic for more information.
|
||||
Please refer to the [Notifications](notifications.md) topic for more information.
|
||||
|
||||
### JBSplitter
|
||||
|
||||
|
@ -8,16 +8,16 @@ The IntelliJ Platform includes a large number of custom Swing components. Using
|
||||
The following components are particularly noteworthy:
|
||||
|
||||
* *Menus and toolbars* are built using the [Action System](/basics/action_system.md)
|
||||
* [Tool Windows](/user_interface_components/tool_windows.html)
|
||||
* [Dialogs](/user_interface_components/dialog_wrapper.html)
|
||||
* [Popups](/user_interface_components/popups.html)
|
||||
* [Notifications](/user_interface_components/notifications.html)
|
||||
* [File and Class Choosers](/user_interface_components/file_and_class_choosers.html)
|
||||
* [Editor Components](/user_interface_components/editor_components.html)
|
||||
* [List and Tree Controls](/user_interface_components/lists_and_trees.html)
|
||||
* [Tool Windows](/user_interface_components/tool_windows.md)
|
||||
* [Dialogs](/user_interface_components/dialog_wrapper.md)
|
||||
* [Popups](/user_interface_components/popups.md)
|
||||
* [Notifications](/user_interface_components/notifications.md)
|
||||
* [File and Class Choosers](/user_interface_components/file_and_class_choosers.md)
|
||||
* [Editor Components](/user_interface_components/editor_components.md)
|
||||
* [List and Tree Controls](/user_interface_components/lists_and_trees.md)
|
||||
* Tables (TableView) (TBD)
|
||||
* Drag & Drop Helpers (TBD)
|
||||
* [Miscellaneous Swing Components](/user_interface_components/misc_swing_components.html)
|
||||
* [Miscellaneous Swing Components](/user_interface_components/misc_swing_components.md)
|
||||
|
||||
* Messages
|
||||
* JBSplitter
|
||||
|
Loading…
x
Reference in New Issue
Block a user