-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update README.md - Update CHANGELOG.md - Add DEVELOPMENT.md - Add .gitattributes - Update icons - Update publisher information
- Loading branch information
Showing
11 changed files
with
81 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.cash linguist-language=Solidity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
.vscode/** | ||
.vscode-test/** | ||
.yarn/** */ | ||
out/test/** | ||
test/** | ||
src/** | ||
**/*.map | ||
*.vsix | ||
.gitignore | ||
tsconfig.json | ||
vsc-extension-quickstart.md | ||
*.svg | ||
*.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,53 @@ | ||
# Welcome to your VS Code Extension | ||
## Development Instructions | ||
|
||
## What's in the folder | ||
Clone the project | ||
|
||
``` | ||
git clone https://github.com/CashScript/vscode-cashscript | ||
``` | ||
|
||
Install Dependencies | ||
|
||
``` | ||
cd vscode-cashscript && yarn | ||
``` | ||
|
||
Open the project in vscode. | ||
|
||
``` | ||
code . | ||
``` | ||
|
||
Press F5 anywhere to start the test window, open the examples folder to test out any `.cash` file. All relevent files are located within the `/src` directory. | ||
|
||
--- | ||
|
||
## 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 language support and define the location of the grammar file that has been copied into your extension. | ||
- `syntaxes/cashscript.tmLanguage.json` - this is the Text mate grammar file that is used for tokenization. | ||
- `language-configuration.json` - this is the language configuration, defining the tokens that are used for comments and brackets. | ||
|
||
## Get up and running straight away | ||
### Get up and running straight away | ||
|
||
- Make sure the language configuration settings in `language-configuration.json` are accurate. | ||
- Press `F5` to open a new window with your extension loaded. | ||
- Create a new file with a file name suffix matching your language. | ||
- Verify that syntax highlighting works and that the language configuration settings are working. | ||
|
||
## Make changes | ||
### Make changes | ||
|
||
- You can relaunch the extension from the debug toolbar after making changes to the files listed above. | ||
- You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes. | ||
|
||
## Add more language features | ||
### Add more language features | ||
|
||
- To add features such as intellisense, hovers and validators check out the VS Code extenders documentation at https://code.visualstudio.com/docs | ||
|
||
## Install your extension | ||
### Install your extension | ||
|
||
- To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code. | ||
- To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters