Rename to vue2-grammar

This commit is contained in:
PMKuipers 2024-05-25 22:16:31 +02:00
parent aa92d04ed4
commit 3b3f4d61b0
4 changed files with 15 additions and 15 deletions

View File

@ -1,6 +1,6 @@
# Manual installation
>This is a [Visual Studio Code](https://code.visualstudio.com/download) extension. It is best installed from the [on-line extensions marketplace](https://marketplace.visualstudio.com/items?itemName=svaberg.swmf-grammar), or from inside VS Code `Preferences/Extensions` and search for `swmf-grammar`.
>This is a [Visual Studio Code](https://code.visualstudio.com/download) extension. It is best installed from the [on-line extensions marketplace](https://marketplace.visualstudio.com/items?itemName=svaberg.vue2-grammar), or from inside VS Code `Preferences/Extensions` and search for `vue2-grammar`.
_Alternatively_, the extension can be built and installed manually as in the next section. This should only be required for developers.
@ -9,8 +9,8 @@ _Alternatively_, the extension can be built and installed manually as in the nex
1. Clone the repository and enter into the folder
```bash
git clone git@github.com:svaberg/SWMF-grammar.git
cd SWMF-grammar
git clone git@git.miqra.nl:pmkuipers/vue2-grammar.git
cd vue2-grammar
```
2. Install the required packages with `npm`
@ -43,11 +43,11 @@ To complete the manual installation, follow the remaining steps to manually crea
vsce package
```
This should generate a `swmf-grammar-?.?.?.vsix` file in the current directory.
This should generate a `vue2-grammar-?.?.?.vsix` file in the current directory.
5. Manually install the extension in VS Code (you may want to replace the wildcards in the version number)
```bash
code --install-extension swmf-grammar-?.?.?.vsix
code --install-extension vue2-grammar-?.?.?.vsix
```
To test the installation, open the current folder in VS Code

View File

@ -1,10 +1,10 @@
# SWMF Configuration
[![Build Status](https://travis-ci.com/svaberg/SWMF-grammar.svg?branch=master)](https://travis-ci.com/svaberg/SWMF-grammar)
![GitHub package.json version](https://img.shields.io/github/package-json/v/svaberg/SWMF-grammar)
[![Build Status](https://travis-ci.com/svaberg/vue2-grammar.svg?branch=master)](https://travis-ci.com/svaberg/vue2-grammar)
![GitHub package.json version](https://img.shields.io/github/package-json/v/svaberg/vue2-grammar)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
> This is a Visual Studio Code extension and should be installed from the [VS Code extensions marketplace](https://marketplace.visualstudio.com/items?itemName=svaberg.swmf-grammar)
> This is a Visual Studio Code extension and should be installed from the [VS Code extensions marketplace](https://marketplace.visualstudio.com/items?itemName=svaberg.vue2-grammar)
This extension provides syntax highlighting, outline view, breadcrumbs, and some code completion for [Space Weather Modelling Framework (SWMF)](http://csem.engin.umich.edu/tools/swmf/) configuration files, such as the BATSRUS `PARAM.in` file. The rules are based on the [SWMF manual](http://csem.engin.umich.edu/tools/swmf/documentation/SWMF.pdf) section 3.2.2.
@ -23,7 +23,7 @@ Automatically highlights files ending in `.in` and `.IN`. For files lacking thes
## Installation
This is a [Visual Studio Code](https://code.visualstudio.com/download) extension. It is best installed from the [on-line extensions marketplace](https://marketplace.visualstudio.com/items?itemName=svaberg.swmf-grammar), or from inside VS Code: Click on `Preferences/Extensions` and type `swmf-grammar` into the search box.
This is a [Visual Studio Code](https://code.visualstudio.com/download) extension. It is best installed from the [on-line extensions marketplace](https://marketplace.visualstudio.com/items?itemName=svaberg.vue2-grammar), or from inside VS Code: Click on `Preferences/Extensions` and type `vue2-grammar` into the search box.
To test the installation, just open a handy SWMF `PARAM.in` file.

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "swmf-grammar",
"name": "vue2-grammar",
"version": "1.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "swmf-grammar",
"name": "vue2-grammar",
"version": "1.0.1",
"license": "MIT",
"devDependencies": {

View File

@ -1,12 +1,12 @@
{
"name": "swmf-grammar",
"name": "vue2-grammar",
"displayName": "SWMF Configuration",
"description": "Syntax highlights and outline view for SWMF configuration files",
"version": "1.0.1",
"publisher": "svaberg",
"repository": {
"type": "git",
"url": "https://github.com/svaberg/SWMF-grammar.git"
"url": "https://git.miqra.nl/pmkuipers/vue2-grammar.git"
},
"license": "MIT",
"engines": {
@ -66,8 +66,8 @@
"typescript": "^4.9.3"
},
"bugs": {
"url": "https://github.com/svaberg/SWMF-grammar/issues"
"url": "https://git.miqra.nl/pmkuipers/vue2-grammar/issues"
},
"homepage": "https://github.com/svaberg/SWMF-grammar#readme",
"homepage": "https://git.miqra.nl/pmkuipers/vue2-grammar#readme",
"author": "Dag Evensberget"
}