Skip to content
Snippets Groups Projects
Commit a2894873 authored by Smit, P.J.M. (Peter, Student M-CS)'s avatar Smit, P.J.M. (Peter, Student M-CS)
Browse files

updated readme and extension metadata

parent 835fd93c
No related branches found
No related tags found
No related merge requests found
# modestextension README
# Modest Extension for VS Code
## Features
Language server
- Syntax and Error highlighting
- Brace matching/collapsing
- IntelliSense (autocompletion for variable)
- Renaming of variable, function and process names
- Code formatting
- Code snippets
- Refactoring support (extract constant/function/process/variable, surround with if/while/etc..)
- Document symbol highlighting
- Graphical user interface to run tools on files
- Automatically extract all possible parameters of every tool and populate the sidebar with corresponding input boxes to set these parameters.
- Display a DOT file generated by Modest for the current file, updated in real time.
- Process run output to allow it to be interactively shown.
## Requirements
Modest has to be installed
## Extension Settings
TODO
## Known Issues
Calling out known issues can help limit users opening duplicate issues against your extension.
- The Modest Toolset (a version with the LanguageServer built-in)
- VS Code (Version 1.52.0 or later)
## Release Notes
Users appreciate release notes as you update your extension.
### 1.0.0
### 0.0.1
Initial release of modestextension
\ No newline at end of file
First beta release of the Modest Extension.
......@@ -4,7 +4,11 @@
"description": "Language support for the Modest Toolset",
"icon": "media/modest-icon.png",
"version": "0.0.1",
"publisher": "ModestExtension-developers",
"repository": {
"type": "git",
"url": "https://gitlab.utwente.nl/dp-group-14/ide-plugin.git"
},
"publisher": "ModestExtensionTeam",
"license": "SEE LICENSE IN LICENSE",
"engines": {
"vscode": "^1.52.0"
......@@ -330,7 +334,7 @@
"properties": {
"modest.executableLocation": {
"type": "string",
"description": "Location of the Modest toolset executable",
"description": "Location of the Modest Toolset executable",
"format": "uri",
"scope": "machine-overridable"
}
......@@ -434,4 +438,4 @@
"vscode-codicons": "0.0.15",
"vscode-languageclient": "^7.0.0"
}
}
}
\ No newline at end of file
......@@ -57,6 +57,10 @@ export namespace DotViewer {
LiveDotView.currentDotView?.copyDot();
});
/**
* A class to keep track of all information related to a dotView.
* For example: the current opened dotview, the parameters that are set for this dotview, etc.
*/
class LiveDotView {
public static currentDotView: LiveDotView | undefined;
......
# Welcome to your VS Code Extension
## What's in the folder
* This folder contains all of the files necessary for your extension.
* `package.json` - this is the manifest file in which you declare your extension and command.
* The sample plugin registers a command and defines its title and command name. With this information VS Code can show the command in the command palette. It doesn’t yet need to load the plugin.
* `src/extension.ts` - this is the main file where you will provide the implementation of your command.
* The file exports one function, `activate`, which is called the very first time your extension is activated (in this case by executing the command). Inside the `activate` function we call `registerCommand`.
* We pass the function containing the implementation of the command as the second parameter to `registerCommand`.
## Get up and running straight away
* Press `F5` to open a new window with your extension loaded.
* Run your command from the command palette by pressing (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac) and typing `Hello World`.
* Set breakpoints in your code inside `src/extension.ts` to debug your extension.
* Find output from your extension in the debug console.
## Make changes
* You can relaunch the extension from the debug toolbar after changing code in `src/extension.ts`.
* You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes.
## Explore the API
* You can open the full set of our API when you open the file `node_modules/@types/vscode/index.d.ts`.
## Run tests
* Open the debug viewlet (`Ctrl+Shift+D` or `Cmd+Shift+D` on Mac) and from the launch configuration dropdown pick `Extension Tests`.
* Press `F5` to run the tests in a new window with your extension loaded.
* See the output of the test result in the debug console.
* Make changes to `src/test/suite/extension.test.ts` or create new test files inside the `test/suite` folder.
* The provided test runner will only consider files matching the name pattern `**.test.ts`.
* You can create folders inside the `test` folder to structure your tests any way you want.
## Go further
* Reduce the extension size and improve the startup time by [bundling your extension](https://code.visualstudio.com/api/working-with-extensions/bundling-extension).
* [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VSCode extension marketplace.
* Automate builds by setting up [Continuous Integration](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment