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
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.
22
+
23
+
---
24
+
25
+
## Welcome to your VS Code Extension
26
+
27
+
### What's in the folder
4
28
5
29
- This folder contains all of the files necessary for your extension.
6
30
-`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.
7
31
-`syntaxes/cashscript.tmLanguage.json` - this is the Text mate grammar file that is used for tokenization.
8
32
-`language-configuration.json` - this is the language configuration, defining the tokens that are used for comments and brackets.
9
33
10
-
## Get up and running straight away
34
+
###Get up and running straight away
11
35
12
36
- Make sure the language configuration settings in `language-configuration.json` are accurate.
13
37
- Press `F5` to open a new window with your extension loaded.
14
38
- Create a new file with a file name suffix matching your language.
15
39
- Verify that syntax highlighting works and that the language configuration settings are working.
16
40
17
-
## Make changes
41
+
###Make changes
18
42
19
43
- You can relaunch the extension from the debug toolbar after making changes to the files listed above.
20
44
- You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes.
21
45
22
-
## Add more language features
46
+
###Add more language features
23
47
24
48
- To add features such as intellisense, hovers and validators check out the VS Code extenders documentation at https://code.visualstudio.com/docs
25
49
26
-
## Install your extension
50
+
###Install your extension
27
51
28
52
- To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
29
53
- To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.

4
-

5
-

3
+

4
+

5
+

6
6
7
-
Vscode-cashscript provides tools that make it easier for developers to write smart contracts with [cashscript](https://cashscript.org/).
7
+
The `cashscript` extension for VS Code that provides auto-completion, linting, and more when writing smart contracts with [CashScript](https://cashscript.org/).
8
8
9
-

9
+
<!-- TODO: Improvde video -->
10
10
11
-
A special thank you to [vscode-solidity](https://github.com/juanfranblanco/vscode-solidity) which inspired much of the code structure!
11
+

12
12
13
13
## Features
14
14
@@ -17,46 +17,10 @@ A special thank you to [vscode-solidity](https://github.com/juanfranblanco/vscod
17
17
- Snippets
18
18
- Linting
19
19
20
-
## Development Instructions
20
+
## CashScript
21
21
22
-
Press **F5** or click the "**Compile Contract**" button in the top right. A json file containing the contract artifiact will be created in the same directory with the same name.
22
+
CashScript is a high-level language that allows you to write Bitcoin Cash smart contracts in a straightforward and familiar way. Its syntax is inspired by Ethereum's Solidity language, but its functionality is different since the underlying systems have very different fundamentals. See the [language documentation](https://cashscript.org/docs/language/) for a full reference of the language.
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.
43
-
44
-
## Extension Settings
45
-
46
-
None available yet.
47
-
48
-
## Known Issues
49
-
50
-
None available yet.
51
-
52
-
## Release Notes
53
-
54
-
Check the [changelog](/CHANGELOG.md) for past releases. Latest stable version:
55
-
56
-
## 0.2.0
57
-
58
-
- Compatible with `cashscript@0.7.0`
59
-
- Updated to new Native Introspection functionality
60
-
- Added tuple destructuring
61
-
- Added new `constant` keyword
62
-
- Added `'*'` operator
26
+
The original version of this extension was created by [Nathaniel Cherian](https://github.com/nathanielCherian) and was inspired by [vscode-solidity](https://github.com/juanfranblanco/vscode-solidity).
0 commit comments