Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
south-window authored Jul 5, 2023
1 parent d9bc2b8 commit 6fbe4e4
Show file tree
Hide file tree
Showing 7 changed files with 472 additions and 458 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [0.0.1]

# Change Log

## [0.0.2]

- Fix comment bugs.

## [0.0.1]

- Initial release
402 changes: 201 additions & 201 deletions LICENSE

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## VSCode Language Package for COSY Infinity

Syntax highlighting for COSYscript files.

Written by Ao Liu, [ShanghaiTech Univ](https://www.shanghaitech.edu.cn/eng/).
Contact: [mailto://[email protected]]

COSY INFINITY is an arbitrary order beam dynamics simulation and analysis code. It allows the study of accelerator lattices, spectrographs, beamlines, electron microscopes, and many other devices. You can find more information on [this website](https://www.bmtdynamics.org/cosy/).

**Enjoy!**
## VSCode Language Package for COSY Infinity

Syntax highlighting for COSYscript files.

Written by Ao Liu, [ShanghaiTech Univ](https://www.shanghaitech.edu.cn/eng/).
Contact: [mailto://[email protected]]

COSY INFINITY is an arbitrary order beam dynamics simulation and analysis code. It allows the study of accelerator lattices, spectrographs, beamlines, electron microscopes, and many other devices. You can find more information on [this website](https://www.bmtdynamics.org/cosy/).

**Enjoy!**
Binary file added cosy-0.0.2.vsix
Binary file not shown.
53 changes: 26 additions & 27 deletions language-configuration.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
{
"comments": {
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
"blockComment": [ "{", "}" ]
},
// symbols used as brackets
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
// symbols that can be used to surround a selection
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
{
"comments": {
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
"blockComment": [ "{", "}" ]
},
// symbols used as brackets
"brackets": [
["[", "]"],
["(", ")"]
],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
// symbols that can be used to surround a selection
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"name": "cosy",
"publisher": "AoLiu",
"displayName": "COSY Infinity",
"description": "Syntax highlighting for beam dynamics simulation and analysis code COSY INFINITY.",
"version": "0.0.1",
"icon":"COSY Infinity_12.ico",
"engines": {
"vscode": "^1.79.0"
},
"repository": {
"type": "git",
"url": "https://github.com/south-window/vscode-cosy"
},
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [{
"id": "cosy",
"aliases": ["COSY", "cosy"],
"extensions": [".fox"],
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "cosy",
"scopeName": "source.fox",
"path": "./syntaxes/cosy.tmLanguage.json"
}]
}
}
{
"name": "cosy",
"publisher": "AoLiu",
"displayName": "COSY Infinity",
"description": "Syntax highlighting for beam dynamics simulation and analysis code COSY INFINITY.",
"version": "0.0.2",
"icon":"COSY Infinity_12.ico",
"engines": {
"vscode": "^1.79.0"
},
"repository": {
"type": "git",
"url": "https://github.com/south-window/vscode-cosy"
},
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [{
"id": "cosy",
"aliases": ["COSY", "cosy"],
"extensions": [".fox"],
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "cosy",
"scopeName": "source.fox",
"path": "./syntaxes/cosy.tmLanguage.json"
}]
}
}
Loading

0 comments on commit 6fbe4e4

Please sign in to comment.