-
Notifications
You must be signed in to change notification settings - Fork 62
Conversation
doc/linting.md
Outdated
@@ -0,0 +1,23 @@ | |||
# Linging Page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linting
doc/linting.md
Outdated
@@ -0,0 +1,23 @@ | |||
# Linging Page | |||
|
|||
The extension provides linting which looks like in the following screenshot: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The extension provides linting as shown in the following screenshot:
doc/linting.md
Outdated
} | ||
``` | ||
|
||
The Problems panel looks like in the following screenshot: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Problems panel would look like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would? It is a fact, isn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Would" because the code above is a hypothetical example/scenario. You can use "will" if you prefer. Either works.
doc/linting.md
Outdated
|
||
[![Linting](../images/linting/problems_panel.jpg)]() | ||
|
||
Linting works different in [Legacy Mode](legacy_mode/linting.md) and [RLS Mode](rls_mode/linting.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linting behaves differently in [RLS Mode](rls_mode/linting.md) than in [Legacy Mode](legacy_mode/linting.md).
The linting page should also mention which linting mode is the default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no default mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@redactedscribe,
I meant that the chosen mode depended on which mode the extension was running on.
doc/main.md
Outdated
@@ -13,6 +13,10 @@ The extension can function in one of two modes: | |||
|
|||
Each mode is described in detail on its own page. | |||
|
|||
Furthermore, the extension provides: | |||
|
|||
* [Linting (Showing diagnostics in the active text editor)](linting.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Linting (the showing of diagnostics in the active text editor)](linting.md)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you are describing what linting is, and it is: "the showing of diagnostics in the active text editor".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't know that it is possible. Thank you.
doc/main.md
Outdated
@@ -13,6 +13,10 @@ The extension can function in one of two modes: | |||
|
|||
Each mode is described in detail on its own page. | |||
|
|||
Furthermore, the extension provides: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On line 20, you repeat yourself with another sentence beginning with "Furthermore`. Try to avoid repetition. The use of "Furthermore" tends to only be used once to add additional reinforcement to something, in this case, the features of the extension.
doc/rls_mode/linting.md
Outdated
|
||
You can see diagnostics in the Problems Panel. | ||
|
||
You can hover on a diagnostics to see what the diagnostic is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also hover over a diagnostic to see what the problem is.
doc/legacy_mode/linting.md
Outdated
@@ -0,0 +1,27 @@ | |||
# Legacy Mode Linting Page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think adding "Page" to the end of each documentation page is unnecessary. Linting in Legacy Mode
I believe describes the page better.
doc/rls_mode/linting.md
Outdated
@@ -0,0 +1,15 @@ | |||
# RLS Mode Linting Page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linting in RLS Mode
doc/linting.md
Outdated
|
||
[![Linting](../images/linting/code.jpg)]() | ||
|
||
Also it populates the Problems panel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It also populates the Problems panel.
doc/legacy_mode/linting.md
Outdated
} | ||
``` | ||
|
||
We execute any cargo command. Let's execute "Cargo: Build". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We then execute any cargo command. Let's execute "Cargo: Build".
doc/legacy_mode/linting.md
Outdated
|
||
It builds and shows diagnostics: | ||
|
||
* In code: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the source code:
doc/legacy_mode/linting.md
Outdated
|
||
[![Linting](../../images/linting/code.jpg)]() | ||
|
||
* In the Problems panel: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And in the Problems panel:
doc/legacy_mode/linting.md
Outdated
|
||
[![Linting](../../images/linting/problems_panel_legacy_mode.jpg)]() | ||
|
||
We can hover any diagnostic to see what it is: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can hover over any diagnostic to see what it is:
doc/legacy_mode/linting.md
Outdated
@@ -0,0 +1,27 @@ | |||
# Legacy Mode Linting Page | |||
|
|||
Executing a cargo command makes the extension parse the output of the executed command and show diagnostics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Executing a cargo command makes the extension parse the command's output and show diagnostics. Legacy Mode cannot show diagnostics as you type, for that you must use [RLS Mode](rls_mode/linting.md).
doc/rls_mode/linting.md
Outdated
@@ -0,0 +1,15 @@ | |||
# RLS Mode Linting Page | |||
|
|||
`RLS` checks the project and shows diagnostics while you are typing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must RLS
be in code format?
doc/rls_mode/linting.md
Outdated
|
||
`RLS` checks the project and shows diagnostics while you are typing. | ||
|
||
You can see diagnostics in the Problems Panel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can see diagnostics in the Problems panel.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply, "Panel" is capitalised whereas in previous mentions you said "Problems panel".
doc/rls_mode/linting.md
Outdated
|
||
You can hover on a diagnostics to see what the diagnostic is. | ||
|
||
Executing a cargo command doesn't show any diagnostics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Executing a cargo command doesn't show any diagnostics (unlike [Legacy Mode](legacy_mode/linting.md)).
doc/rls_mode/linting.md
Outdated
|
||
Executing a cargo command doesn't show any diagnostics. | ||
|
||
It is intentional decision. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an intentional design decision.
doc/rls_mode/linting.md
Outdated
|
||
The reason is that there is no pretty way to hide a diagnostic after the diagnostic's cause is fixed. | ||
|
||
It may confuse people. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What may confuse people? The old diagnostics after a fix?
This would be confusing, hence the decision.
?
In future, it would be easier to provide me push access to the necessary branch so I may help with such an edit. The English is now better, however the structure could use improvement by combining some of the single-line sentences into paragraphs / chunks. |
@redactedscribe, |
@KalitaAlexey I'm not entirely sure, perhaps it's possible through the GitHub interface? I don't use This help doc looks related: https://help.github.com/articles/about-branch-restrictions/ |
I will read the article. |
@redactedscribe, |
Hello everyone.
I want you to review and say what you want me to add.
@redactedscribe you know what I want you to do.
Thanks
Fixes #90