Skip to content

Commit fa80506

Browse files
committed
Move internal_mode.md
1 parent 38d1b40 commit fa80506

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

rsd.tree

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
<toc-element id="plugin_template.md" toc-title="Using .NET Template"/>
9696
<toc-element id="running_plugin.md"/>
9797
</toc-element>
98+
<toc-element id="internal_mode.md" toc-title="Internal mode" accepts-web-file-names="Extensions/InternalMode.html,Intro/InternalMode.html"/>
9899
</toc-element>
99100
<toc-element toc-title="Part I - Extending the ReSharper Platform">
100101
<toc-element id="GettingStarted.md"
@@ -103,9 +104,6 @@
103104
<toc-element id="Tools.md"
104105
accepts-web-file-names="Extensions/Tools.html,Intro/Tools.html"
105106
toc-title="Tools"/>
106-
<toc-element id="InternalMode.md"
107-
accepts-web-file-names="Extensions/InternalMode.html,Intro/InternalMode.html"
108-
toc-title="Internal mode"/>
109107
<toc-element id="PlatformVersioning.md"
110108
accepts-web-file-names="Extensions/PlatformVersioning.html,Intro/PlatformVersioning.html"
111109
toc-title="Platform Versioning"/>

topics/Platform/Logging.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The ReSharper Platform provides a comprehensive set of logging features, such as logging levels and different log listeners. It can also be configured with different levels and listeners based on a log category, such as "JetBrains.DataFlow" for capturing log events from the DataFlow subsystem.
44

5-
There are two ways to enable logging, via the command line and via a config file. The command line options are much simpler, and can only control logging level and enable logging to a file. The config file provides much more power and can configure multiple listeners, as well as different configuration options per category. ReSharper even provides an Options page to configure logging, once [Internal Mode](InternalMode.md) is enabled.
5+
There are two ways to enable logging, via the command line and via a config file. The command line options are much simpler, and can only control logging level and enable logging to a file. The config file provides much more power and can configure multiple listeners, as well as different configuration options per category. ReSharper even provides an Options page to configure logging, once [Internal Mode](internal_mode.md) is enabled.
66

77
## Command line
88

@@ -45,7 +45,7 @@ By specifying a logging level, you will get all log events at that level and bel
4545

4646
## Logging options page
4747

48-
The simplest way to create a file is to use the Logging options page when running in [Internal Mode](InternalMode.md). This page shows the current configuration of logging, based on the command line args, the currently created and active log files, and what appenders/listeners and loggers are active.
48+
The simplest way to create a file is to use the Logging options page when running in [Internal Mode](internal_mode.md). This page shows the current configuration of logging, based on the command line args, the currently created and active log files, and what appenders/listeners and loggers are active.
4949

5050
<!-- TODO: Add screenshot -->
5151

@@ -55,4 +55,4 @@ The page also shows the current active configuration, including currently active
5555

5656
## System debug and trace
5757

58-
The ReSharper Platform will add a `TraceListener` to route .net generated events through ReSharper's logging system, so it will be possible to capture log events generated by `System.Diagnostics.Debug` and `System.Diagnostics.Trace`.
58+
The ReSharper Platform will add a `TraceListener` to route .net generated events through ReSharper's logging system, so it will be possible to capture log events generated by `System.Diagnostics.Debug` and `System.Diagnostics.Trace`.

topics/Platform/Logging/AdvancedConfiguration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ When running the ReSharper Platform in an [experimental instance of Visual Studi
1212
>
1313
{type="tip"}
1414

15-
The best way to set up a log file is via the [Logging Options Page](Logging.md#logging-options-page) which is only visible when in [Internal Mode](InternalMode.md).
15+
The best way to set up a log file is via the [Logging Options Page](Logging.md#logging-options-page) which is only visible when in [Internal Mode](internal_mode.md).
1616

1717
The file format is fairly straightforward:
1818

@@ -92,4 +92,4 @@ The `pattern` attribute of the `appender` element can be used to format log mess
9292
* `%p` - process ID.
9393
* `%P` - process name.
9494

95-
Also, the width of the parameter can be specified between the percent symbol and the control character, e.g. `%{min}.{max}c` will ensure that the output value has at least `{min}` characters and at most `{max}`. If there are fewer characters than `{min}`, the text is right justified (padded with leading spaces). By specifying a negative number for `{min}`, the text is left justified (padded with trailing spaces).
95+
Also, the width of the parameter can be specified between the percent symbol and the control character, e.g. `%{min}.{max}c` will ensure that the output value has at least `{min}` characters and at most `{max}`. If there are fewer characters than `{min}`, the text is right justified (padded with leading spaces). By specifying a negative number for `{min}`, the text is left justified (padded with trailing spaces).

topics/Platform/Zones/Activation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class DotPeekZoneActivator :
4646

4747
There is usually little or no logic in the implementation of `ActivatorEnabled`. Generally speaking, if a product is installed, it should be activated. Activation is separate to licensing, trial versions and user disabling of a product or feature - this is handled separately by the ReSharper Platform. Unlicensed, expired, or disabled zones are removed from the list of activated zones before components are filtered into the container.
4848

49-
However, it is perfectly reasonable to implement some logic in this method, for example, the `InternalModeProductZoneActivator` class will activate the `IInternalVisibilityZone` (for [Internal Mode](InternalMode.md)) only if the `/Internal` command line argument is supplied.
49+
However, it is perfectly reasonable to implement some logic in this method, for example, the `InternalModeProductZoneActivator` class will activate the `IInternalVisibilityZone` (for [Internal Mode](internal_mode.md)) only if the `/Internal` command line argument is supplied.
5050

5151
### Explicit implementation
5252

@@ -72,7 +72,7 @@ public class MyZone : IActivate<IZone1>, IActivate<IZone2>
7272

7373
### Activator class as component
7474

75-
Similarly, zone activator classes are components (`ZoneActivatorAttribute` derives from `EnvironmentComponentAttribute`, so they are components that get created very early in the application lifecycle), which means they can accept dependencies in the constructor. For example, a Feature that is intended for use only in [Internal Mode](InternalMode.md) can do something like:
75+
Similarly, zone activator classes are components (`ZoneActivatorAttribute` derives from `EnvironmentComponentAttribute`, so they are components that get created very early in the application lifecycle), which means they can accept dependencies in the constructor. For example, a Feature that is intended for use only in [Internal Mode](internal_mode.md) can do something like:
7676

7777
```csharp
7878
[ZoneActivator]
@@ -209,4 +209,4 @@ This has the same effect as a simple implementation of `IActivate<TZone>.Activat
209209
>
210210
> In order to successfully appear on the Products and Features page, a zone must be activated by a zone activator. Make sure to include a valid zone marker for the activator class!
211211
>
212-
> This will hopefully be fixed in a future wave.
212+
> This will hopefully be fixed in a future wave.
File renamed without changes.

0 commit comments

Comments
 (0)