Replaced "advertise" and "advertisement"

This commit is contained in:
Lidiya.Chernigovskay 2018-09-07 15:53:58 +03:00
parent 33da2b977c
commit cb4a50c8cf
5 changed files with 10 additions and 10 deletions

View File

@ -4,7 +4,7 @@ title: Run Configurations
*Run Configurations* allow users to run a certain type of external processes from within the IDE, e.g. a script, an application, a server, etc. You can provide UI for the user to specify execution options, as well as an option to create a run configuration based on a specific location in the source code.
If you want IDEs to advertise that your plugin supports run configurations, look at the page about
If you want IDEs to show a prompt to users that your plugin supports run configurations, look at the page about
[feature extractor](/plugin_repository/feature_extractor.md).
# Architectural overview

View File

@ -2,14 +2,14 @@
title: Feature Extractor
---
The IntelliJ Platform IDEs will advertise a plugin for installation if the plugin provides additional features from this list:
The IntelliJ Platform IDEs will recommend a plugin for installation if the plugin provides additional features from this list:
* Configuration Type
* Facet Type
* File Extensions Type
* Module Type
* Artifact Type
IntelliJ Platform IDEs only show plugin advertisements in the appropriate context so they are meaningful to the user.
IntelliJ Platform IDEs only show plugin suggestions in the appropriate context so they are meaningful to the user.
The [`feature extractor`](https://github.com/JetBrains/intellij-plugin-verifier/tree/master/intellij-feature-extractor/) tool
catalogs these types of features for a plugin. It works by statically analyzing the bytecode of a plugin to extract values
@ -24,7 +24,7 @@ When you want IDEs to show that your plugin supports Run Configuration Type, you
[ConfigurationType](https://github.com/JetBrains/intellij-community/blob/master/platform/lang-api/src/com/intellij/execution/configurations/ConfigurationType.java)
and implement the `getId()` method. The `feature extractor` analyzes the value of `getId()`.
An advertisement for a plugin that supports the *Run D App* Configuration Type:
An suggestion to install plugins that support the *Run D App* Configuration Type:
![Configuration Type of Feature](img/feature_extractor_configuration.png)
@ -35,7 +35,7 @@ Refer to [Run Configurations](/basics/run_configurations.md) to get more informa
To support a Facet Type feature you should extend [FacetType](https://github.com/JetBrains/intellij-community/blob/master/platform/lang-api/src/com/intellij/facet/FacetType.java),
and pass `stringId` to its constructor. The value of the `stringId` parameter will be analyzed by the `feature extractor`.
An advertisement for a plugin that supports the *jangaroo* Facet Type:
An notification to install plugins that support the *jangaroo* Facet Type:
![Facet Type of Feature](img/feature_extractor_facet.png)
@ -47,7 +47,7 @@ A plugin can support specific types of file extensions. When there is a file wit
You should extend [FileTypeFactory](https://github.com/JetBrains/intellij-community/blob/master/platform/platform-api/src/com/intellij/openapi/fileTypes/FileTypeFactory.java)
and feed supported file extensions in `createFileTypes(FileTypeConsumer)`. Values of `FileTypeConsumer` are analyzed by the `feature extractor`.
An advertisement for plugins which support the _\*.d_ Extension Type:
An suggestion to install plugins which support the _\*.d_ Extension Type:
![File Extensions Type of Feature](img/feature_extractor_extensions.png)
@ -55,7 +55,7 @@ Refer to [Registering a File Type](/reference_guide/custom_language_support/regi
## Module Type
If you want IDEs to advertise that your plugin can support creating specific Module Types, you should extend
If you want IDEs to show a prompt that your plugin can support creating specific Module Types, you should extend
[ModuleType](https://github.com/JetBrains/intellij-community/blob/master/platform/lang-api/src/com/intellij/openapi/module/ModuleType.java)
and pass the `id` parameter for your Module Type to its constructor. The `feature extractor` will evaluate the values of `id`.

View File

@ -23,6 +23,6 @@ To verify that the file type is registered correctly, you can implement the
[LanguageFileType.getIcon()](upsource:///platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java)
method and verify that the correct icon is displayed for files which have the extension(s) associated with your file type.
If you want IDEs to advertise that your plugin supports some extensions as in the example below, look at the information about [the feature extractor](/plugin_repository/feature_extractor.md).
If you want IDEs to show a hint prompting users that your plugin supports some extensions as in the example below, look at the information about [the feature extractor](/plugin_repository/feature_extractor.md).
![File Extensions Type of Feature](/plugin_repository/img/feature_extractor_extensions.png)

View File

@ -12,6 +12,6 @@ To access the list of facets for a module, use the [FacetManager](upsource:///pl
and [Facet](upsource:///platform/lang-api/src/com/intellij/facet/Facet.java) classes.
If you want IDEs to advertise that your plugin supports a facet as in the example below, look at the information about [the feature extractor](/plugin_repository/feature_extractor.md).
If you want IDEs to notify users that your plugin supports a facet as in the example below, look at the information about [the feature extractor](/plugin_repository/feature_extractor.md).
![Facet Type of Feature](/plugin_repository/img/feature_extractor_facet.png)

View File

@ -5,7 +5,7 @@ title: Supporting Module Types
*IntelliJ Platform* provides a set of standard module types which can be chosen, however, you might need to create a module of a type that isn't supported yet.
This tutorial shows how to register a new module type and link it to the project creation procedure and the UI.
If you want IDEs to advertise that your plugin supports a module type, look at the page about [feature extractor](/plugin_repository/feature_extractor.md).
If you want IDEs to suggest to users that your plugin supports a module type, look at the page about [feature extractor](/plugin_repository/feature_extractor.md).
## Pre-requirements
Create an empty plugin project,