Skip to content

Commit ec9f1d6

Browse files
docs: revised editor docs (#1868)
Co-authored-by: René Jeglinsky <rene.jeglinsky@sap.com>
1 parent 44ee347 commit ec9f1d6

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

tools/cds-editors.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,6 @@ Keeps track of the active editor in focus. Only changes there are immediately va
346346
The *ActiveEditorOnly* mode is especially useful in situations when navigating through a large model, that is, having multiple files open (even if they are not shown as tabs)
347347
and editing a file that the others directly or indirectly depend on.
348348

349-
::: warning Large models can lead to **high CPU and memory load**
350-
If switched to *OpenEditorsAndDirectSources*, all model files on every change, for example typed character, are recompiled.
351-
352-
If switched to _OpenEditorsOnly_, all open files, for example split tabs, are recompiled.
353-
354-
The high resource consumption might impact the editor's responsiveness.
355-
:::
356-
357349
##### Cds > Contributions > [Enablement: Odata](vscode://settings/cds.contributions.enablement.odata)
358350

359351
Default: *on*
@@ -406,7 +398,7 @@ You want to create a preview of a specific _.cds_ file in your project. You can
406398

407399
##### Visualize CDS file dependencies
408400

409-
Use the command from the context menu on a folder or CDS file.
401+
Use the command from the context menu on a folder or CDS file, or from within the popup when hovering over an _import_ path at the end of a _using_ statement.
410402

411403
A selection popup appears to choose one of three modes:
412404

@@ -446,7 +438,7 @@ Until a further change, reference calculation is reasonably fast.
446438
- Changing settings in _CDS_ section will currently perform a complete workspace invalidation, that is, required indexes will lead to recompilations on demand as described above.
447439
- Changing certain `cds.env` settings, for example folder configurations, will invalidate the workspace as well.
448440

449-
### CDS Source Formatter <Beta /> { #cds-formatter}
441+
### CDS Source Formatter { #cds-formatter}
450442

451443
The CDS code formatter provides a command line interface. Use it as a pre-commit hook or within your CI/CD pipeline to ensure consistent formatting.
452444

0 commit comments

Comments
 (0)