This commit is contained in:
Karol Lewandowski 2022-12-06 09:03:22 +01:00
parent 5c2accb01f
commit 71d185d472
5 changed files with 10 additions and 14 deletions

View File

@ -1,11 +1,10 @@
[//]: # (title: General Threading Rules) # General Threading Rules
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. --> <!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
## Read-Write Lock ## Read-Write Lock
> [Thread Access Info](https://plugins.jetbrains.com/plugin/16815-thread-access-info) plugin visualizes Read/Write Access and Thread information in debugger. > [Thread Access Info](https://plugins.jetbrains.com/plugin/16815-thread-access-info) plugin visualizes Read/Write Access and Thread information in debugger.
>
In general, code-related data structures in the IntelliJ Platform are covered by a single reader/writer lock. In general, code-related data structures in the IntelliJ Platform are covered by a single reader/writer lock.
@ -83,7 +82,6 @@ If a process does lengthy non-PSI activity, insert explicit `checkCanceled()` ca
> Throwing `ProcessCanceledException` from `checkCanceled()` can be disabled for development (e.g. while debugging the code) with the <ui-path>Tools | Internal Actions | Disable ProcessCanceledException</ui-path> action. > Throwing `ProcessCanceledException` from `checkCanceled()` can be disabled for development (e.g. while debugging the code) with the <ui-path>Tools | Internal Actions | Disable ProcessCanceledException</ui-path> action.
> The action is available only if [Internal Mode is enabled](enabling_internal.md). > The action is available only if [Internal Mode is enabled](enabling_internal.md).
>
## Read Action Cancellability ## Read Action Cancellability

View File

@ -1,6 +1,6 @@
[//]: # (title: Program Structure Interface \(PSI\)) # Program Structure Interface (PSI)
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. --> <!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
The Program Structure Interface, commonly referred to as just PSI, is the layer in the IntelliJ Platform responsible for parsing files and creating the syntactic and semantic code model that powers so many of the platform's features. The Program Structure Interface, commonly referred to as just PSI, is the layer in the IntelliJ Platform responsible for parsing files and creating the syntactic and semantic code model that powers so many of the platform's features.
@ -9,4 +9,3 @@ The Program Structure Interface, commonly referred to as just PSI, is the layer
* [PSI Elements](psi_elements.md) * [PSI Elements](psi_elements.md)
> See [useful tools](explore_api.md#31-use-internal-mode-and-psiviewer) on how to inspect the PSI structure and its properties. > See [useful tools](explore_api.md#31-use-internal-mode-and-psiviewer) on how to inspect the PSI structure and its properties.
>

View File

@ -1,6 +1,6 @@
[//]: # (title: Indexing and PSI Stubs) # Indexing and PSI Stubs
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. --> <!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
## Indexes ## Indexes
@ -21,7 +21,6 @@ Querying a stub index gets you the set of matching PSI elements.
Therefore, custom language plugin developers typically use stub indexes in their plugin implementations. Therefore, custom language plugin developers typically use stub indexes in their plugin implementations.
> [Index Viewer](https://plugins.jetbrains.com/plugin/13029-index-viewer/) plugin can be used to inspect indexes' contents and properties. > [Index Viewer](https://plugins.jetbrains.com/plugin/13029-index-viewer/) plugin can be used to inspect indexes' contents and properties.
>
## Dumb Mode ## Dumb Mode

View File

@ -1,6 +1,6 @@
[//]: # (title: Plugins Targeting IntelliJ Platform-Based IDEs) # Plugins Targeting IntelliJ Platform-Based IDEs
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. --> <!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
Plugin projects can target IDEs other than IntelliJ IDEA, as long as the products are based on the [IntelliJ Platform](intellij_platform.md). Plugin projects can target IDEs other than IntelliJ IDEA, as long as the products are based on the [IntelliJ Platform](intellij_platform.md).
Such plugins are developed much like plugin projects that target IntelliJ IDEA. Such plugins are developed much like plugin projects that target IntelliJ IDEA.

View File

@ -1,6 +1,6 @@
[//]: # (title: 10. Reference Contributor) # 10. Reference Contributor
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. --> <!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<tldr> <tldr>