diff --git a/CHANGELOG.md b/CHANGELOG.md index c2d328d..a47fb47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,5 +5,7 @@ All notable changes to the "swmf" extension will be documented in this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. ## [Unreleased] - -- Initial release \ No newline at end of file +### 0.0.1 +Initial release with syntax highlighting. +### 0.0.2 +Added hierarchical outline view. \ No newline at end of file diff --git a/README.md b/README.md index 35b862b..e40f3cc 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,14 @@ Syntax highlighting and some code completion for [Space Weather Modelling Framew Automatically highlights files ending in `.in` and `.IN`. +A document tree is also provided in the outline view. + ![highlight and folding demo](images/highlight-demo.png) ## Features * Syntax highlighting * Comment/uncomment using `!` as comment character. + * Hierarchical document tree in outline view. * Code folding between `#BEGIN_COMP` and `#END_COMP` markers. * Autoclosing of `#BEGIN_COMP`. diff --git a/demo.in b/demo.in index 4c18032..1311018 100644 --- a/demo.in +++ b/demo.in @@ -1,13 +1,18 @@ +#ECHO Highlighting demo using Monokai dark theme. #BEGIN_COMP SC Marker with folding button in margin -#COMMAND Example command with parameters +#USERINPUTBEGIN + +#MYCOMMAND Example command with parameters -10 integer parameter +1.1e6 float parameter T Boolean parameter Hello World string parameter +#USERINPUTEND + COMMAND Commands lacking the # character are comments 15 @@ -16,4 +21,9 @@ COMMAND Commands lacking the # character are comments #COMMAND 500 Comment +#RUN + +#ANOTHER_CMD +3.14 Comment + #END diff --git a/images/demo.png b/images/demo.png new file mode 100644 index 0000000..f9ded84 Binary files /dev/null and b/images/demo.png differ diff --git a/images/highlight-demo.png b/images/highlight-demo.png deleted file mode 100644 index d59817c..0000000 Binary files a/images/highlight-demo.png and /dev/null differ