You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: courses/Bibliography/Bibliography.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ This literature is about the meta systems themselves, their design and their eva
78
78
* Mauricio Verano Merino, Tom Beckmann, Tijs van der Storm, Robert Hirschfeld, and Jurgen J. Vinju. Getting Grammars into Shape for Block-based. (2021) International Conference on Software Language Engineering.
79
79
> We can generate block-based syntax editors from context-free grammars. The paper bridges between the grammarware and blockware technological spaces. A collaboration with TU Eindhoven en Canon Production Printing.
80
80
* Jurgen J. Vinju and Tijs van der Storm. Bacatá: Notebooks for DSLs, Almost for Free. (2020) <Programming> Journal and DSLDI 2020
81
-
> We can generate Jupyter Notebook interfaces for language descriptions in Rascal, similar to the way we can generate Eclipse plugins and VScode extensions,
81
+
> We can generate Jupyter Notebook interfaces for language descriptions in Rascal, similar to the way we can generate Eclipse plugins and VS Code extensions,
Copy file name to clipboardExpand all lines: courses/GettingStarted/DownloadAndInstallation/DownloadAndInstallation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar_position: 1
6
6
Rascal is deployed as one of four easy-to-use packages:
7
7
8
8
1.**A standalone "jar" file**, which can be downloaded [here](https://update.rascal-mpl.org/console/rascal-shell-stable.jar)
9
-
2. A **Visual Studio Code extension**, which can be found [here](https://marketplace.visualstudio.com/items?itemName=usethesource.rascalmpl) or search for "Rascal" in the "Extension" view in VScode itself.
9
+
2. A **Visual Studio Code extension**, which can be found [here](https://marketplace.visualstudio.com/items?itemName=usethesource.rascalmpl) or search for "Rascal" in the "Extension" view in VS Code itself.
10
10
3. An **Eclipse plugin**, for which the update site is <https://update.rascal-mpl.org/stable/>.
11
11
4. A set of **Maven MOJOs**, for which the plugin repository is <https://releases.usethesource.io/maven/>
Copy file name to clipboardExpand all lines: courses/GettingStarted/RascalShell/Commands/Edit/Edit.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,4 +17,4 @@ mean different things:
17
17
18
18
* On the Unix commandline the `${EDITOR}` environment variable will be used to open a file. If that file is present in the local file system, it is opened by running `${EDITOR} /absolute/path/to/module.rsc`, but if the file is hidden behind an opaque ((Values-Location)) scheme, then it is first copied to a temporary file on the local file system, and then opened.
19
19
* In Eclipse, the eclipse editor framework is used to open an editor for the file. If it is a so called "resource" in the eclipse file system, and editable file is opened with all the Rascal language support. If the file is from an embedded library (inside a jar) then the contents of the file are shown in a similar editor, but read-only.
20
-
* In VScode a similar experience is provided as in Eclipse, but the editor for library files does not know it is read-only.
20
+
* In VS Code a similar experience is provided as in Eclipse, but the editor for library files does not know it is read-only.
Copy file name to clipboardExpand all lines: courses/GettingStarted/RunningRascal/VScode/VScode.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: Running Rascal in VScode
2
+
title: Running Rascal in VS Code
3
3
---
4
4
5
5
After the [installation procedure]((DownloadAndInstallation)) running Rascal
6
-
in VScode is a matter of starting the ((RascalShell)):
6
+
in VS Code is a matter of starting the ((RascalShell)):
7
7
1. Using an editor action
8
-
2. Using the VScode command palette
8
+
2. Using the VS Code command palette
9
9
10
10
## Starting ((RascalShell)) from an editor
11
11
@@ -24,9 +24,9 @@ This assumes there is a functional [Rascal project]((CreateNewProject)) in your
24
24
* A ((RascalShell)) started from the palette has no source or library or classpath configuration and so it only knows about the standard library.
25
25
* See above for well-configured instances of ((RascalShell)).
26
26
27
-
## Programmatic access to VScode features
27
+
## Programmatic access to VS Code features
28
28
29
-
* Use ((util::IDEServices)) to communicate with VScode, to register problems, to open files and browsers, etc.
30
-
* Use ((util::LanguageServer)) to register languages designed and implemented in Rascal with the Language Server Protocol in VScode immediately.
31
-
* The `project://<projectName>` location scheme provides access to the root of each registered folder in the VScode workspace.
29
+
* Use ((util::IDEServices)) to communicate with VS Code, to register problems, to open files and browsers, etc.
30
+
* Use ((util::LanguageServer)) to register languages designed and implemented in Rascal with the Language Server Protocol in VS Code immediately.
31
+
* The `project://<projectName>` location scheme provides access to the root of each registered folder in the VS Code workspace.
32
32
* Use ((util::Reflective::getProjectPathConfig)) for Java and Rascal project configuration extracted from Maven configuration (classpaths, sourcepaths, library dependencies).
Copy file name to clipboardExpand all lines: courses/Rascal/Tests/Tests.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ public class RunRascalTestModules { }
53
53
54
54
* <1> selects the test runner (parallel or not)
55
55
* <2> selects the root package to search for modules and tests
56
-
* Then use JUnit configuration in Eclipse, VScode or Maven to activate the tests at the right time.
56
+
* Then use JUnit configuration in Eclipse, VS Code or Maven to activate the tests at the right time.
57
57
* Reporting goes through standard JUnit reporting, so this integrates well with IDEs and continuous integration systems like Jenkins and GitHub Actions.
Copy file name to clipboardExpand all lines: courses/Recipes/BasicProgramming/IDEConstruction/IDEConstruction.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ keywords:
5
5
- IDE
6
6
- Language Server Protocol
7
7
- Eclipse
8
-
- VScode
8
+
- VS Code
9
9
---
10
10
11
11
#### Synopsis
@@ -22,18 +22,18 @@ Extend an IDE with interactive, language-specific, features (VSCode)
22
22
23
23
Meta-programs become most useful, when they are integrated with an Interactive Development Environment (IDE).
24
24
25
-
A Rascal program running inside a [language server protocol](https://microsoft.github.io/language-server-protocol/) server that is part of the VScode IDE can service most of the typical IDE features such as syntax highlighting,
26
-
outlining, documentation hovering and much more. Similarly Rascal programs running inside VScode have access to all features
25
+
A Rascal program running inside a [language server protocol](https://microsoft.github.io/language-server-protocol/) server that is part of the VS Code IDE can service most of the typical IDE features such as syntax highlighting,
26
+
outlining, documentation hovering and much more. Similarly Rascal programs running inside VS Code have access to all features
27
27
of the , and more.
28
28
29
29
Rascal builds on top of the [language server protocol](https://microsoft.github.io/language-server-protocol/) for its own services, and for services that
30
-
Rascal programmers create for their own languages. By default Rascal can instantiate an LSP server for VScode, but there is nothing in the way of using other editors that have LSP clients.
30
+
Rascal programmers create for their own languages. By default Rascal can instantiate an LSP server for VS Code, but there is nothing in the way of using other editors that have LSP clients.
31
31
32
32
To instantiate an IDE for a language implemented using Rascal, use the following steps:
33
33
34
34
* Define the grammar for the language.
35
35
* Define a parse function for the language.
36
-
* Register the language with the LSP/VScode, using ((util::LanguageServer))
36
+
* Register the language with the LSP/VS Code, using ((util::LanguageServer))
37
37
38
38
You find more information on these topics [here]((util::LanguageServer))
0 commit comments