Skip to content

Commit e37e4f9

Browse files
authored
Fix various typos and wording in Language Service Internals docs (dotnet#12788)
1 parent 05d26de commit e37e4f9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/fcs/caches.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Each FSharpChecker object maintains a set of caches. These are
1818
1919
* ``scriptClosureCache`` - an MRU cache of default size ``projectCacheSize`` that caches the
2020
computation of GetProjectOptionsFromScript. This computation can be lengthy as it can involve processing the transitive closure
21-
of all ``#load`` directives, which in turn can mean parsing an unbounded number of script files
21+
of all ``#load`` directives, which in turn can mean parsing an unbounded number of script files.
2222
2323
* ``incrementalBuildersCache`` - an MRU cache of projects where a handle is being kept to their incremental checking state,
2424
of default size ``projectCacheSize`` (= 3 unless explicitly set as a parameter).

docs/fcs/react.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ FCS is an incremental execution engine. The aim is to make it Roslyn-like. We're
1616
1717
There are two dimensions of incrementality:
1818
19-
* The inputs change, e.g. the source filed are edited or a referenced assembly changes, appears or disappears
19+
* The inputs change, e.g. the source files are edited or a referenced assembly changes, appears or disappears
2020
* The results of analysis on the inputs (e.g. a parse tree) are further enriched with information (e.g. symbol uses are requested) and this information is held, i.e. not re-computed, perhaps by a returned object.
2121
2222
The logical results of all "Check" routines (``ParseAndCheckFileInProject``, ``GetBackgroundCheckResultsForFileInProject``,

docs/tooling-features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The following tables are split into two categories: syntactic and semantic. They
1717
| Action | Data inspected | Data returned | Expected CPU/Allocations (S/M/L/XL) |
1818
|----------------------------------------|----------------|---------------|-----------------|
1919
| Syntactic Classification | Current doc's source text | Text span and classification type for each token in the document | S |
20-
| Breakpoint Resolution | Current doc's syntax tree | Text span representing where breakpoing where resolve | S |
20+
| Breakpoint Resolution | Current doc's syntax tree | Text span representing where breakpoints were resolved | S |
2121
| Debugging data tip info | Current doc's source text | Text span representing the token being inspected | S |
2222
| Brace pair matching | Current doc's source text | Text spans representing brace pairs that match in the input document | S |
2323
| "Smart" indentation | Current doc's source text | Indentation location in a document | S |
@@ -74,5 +74,5 @@ Most actions are `S` if they operate on cached data and the compiler determines
7474

7575
For example, commands like Find All References and Rename can be cheap if a codebase is small, hence the lower bound being `S`. But if the symbol in question is used across many documents in a large project graph, they are very expensive because the entire graph must be crawled and all symbols contained in its documents must be inspected.
7676

77-
In contrast, actions like highlighting all symbols in a document aren't terribly expensive even for very large file files. That's because the symbols to be inspected are ultimately only in a single document.
77+
In contrast, actions like highlighting all symbols in a document aren't terribly expensive even for very large files. That's because the symbols to be inspected are ultimately only in a single document.
7878

0 commit comments

Comments
 (0)