Skip to content

Commit

Permalink
Merge pull request #19 from GordonSmith/TMP
Browse files Browse the repository at this point in the history
Housekeeping changes
  • Loading branch information
GordonSmith authored Feb 24, 2017
2 parents 8ec7163 + ed1ef90 commit f9cf0a1
Show file tree
Hide file tree
Showing 4 changed files with 2,561 additions and 36 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ECL for Visual Studio Code

Read the [Offical Release Notes](https://github.com/GordonSmith/vscode-ecl/releases) to know what has changed over the last few versions of this extension
48 changes: 31 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Join the chat at https://gitter.im/GordonSmith/vscode-ecl](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/GordonSmith/vscode-ecl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/GordonSmith/vscode-ecl.svg?branch=master)](https://travis-ci.org/GordonSmith/vscode-ecl)

Read the [Release Notes](https://github.com/GordonSmith/vscode-ecl/wiki/Release-Notes) to know what has changed over the last few versions of this extension
Read the [Release Notes](https://github.com/GordonSmith/vscode-ecl/releases) to know what has changed over the last few versions of this extension

This extension adds rich language support for the ECL language to VS Code, including:

Expand All @@ -22,29 +22,43 @@ This extension adds rich language support for the ECL language to VS Code, inclu
The following Visual Studio Code settings are available for the ECL extension. These can be set in user preferences (`cmd+,`) or workspace settings (`.vscode/settings.json`):

```javascript
"ecl.syntaxCheckOnSave" // "Run 'eclcc -fsytnax' on save."
"ecl.includeFolders" // "External folders use by IMPORT"
// Run 'eclcc -fsytnax' on save.
"ecl.syntaxCheckOnSave": true,

// External folders use by IMPORT
"ecl.includeFolders": [],

// Override eclcc auto detection
"ecl.eclccPath": "",

// Add '-legacy' arguement to eclcc.
"ecl.legacyMode": false,
```

#### Launch Settings

Submitting or debugging ECL using VS-Code requires specificying the target environment within the VS Code `launch.json` (pressing `F5` will prompt the user to auto create a skelleton file if none exists):

```javascript
{ // Sample configuration ---
"name": "Debug-hthor",
"type": "ecl",
"request": "launch",
"mode": "submit",
"workspace": "${workspaceRoot}",
"program": "${file}",
"protocol": "http",
"serverAddress": "192.168.3.22",
"port": 8010,
"rejectUnauthorized": false,
"targetCluster": "hthor",
"eclccArgs": [],
"includeFolders": "${config.ecl.includeFolders}"
{
"name": "localhost-hthor",
"type": "ecl",
"request": "launch",
"mode": "submit",
"workspace": "${workspaceRoot}",
"program": "${file}",
"protocol": "http",
"serverAddress": "localhost",
"port": 8010,
"rejectUnauthorized": false,
"targetCluster": "hthor",
"eclccPath": "${config.ecl.eclccPath}",
"eclccArgs": [],
"includeFolders": "${config.ecl.includeFolders}",
"legacyMode": "${config.ecl.legacyMode}",
"resultLimit": 100,
"user": "",
"password": ""
}
```

Expand Down
40 changes: 21 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,30 +27,32 @@
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"lint": "node ./node_modules/tslint/bin/tslint ./src/*.ts ./src/serverAdapter/*.ts ./test/*.ts"
"lint": "node ./node_modules/tslint/bin/tslint ./src/*.ts ./src/serverAdapter/*.ts ./test/*.ts",
"changelog": "node ./node_modules/changelog/bin/changelog.js https://github.com/GordonSmith/vscode-ecl all --markdown"
},
"extensionDependencies": [],
"dependencies": {
"vscode-debugadapter": "~1.14.0",
"vscode-debugprotocol": "~1.14.0",
"console-stamp": "~0.2.4",
"semver": "~5.3.0",
"request": "~2.78.0",
"tmp": "~0.0.30",
"xml2js": "~0.4.17",
"opn": "4.0.2",
"xmldom": "~0.1.27",
"es6-promise": "~4.0.5",
"hash-sum": "~1.0.2",
"tslib": "~1.5.0"
"console-stamp": "^0.2.5",
"es6-promise": "^4.0.5",
"hash-sum": "^1.0.2",
"opn": "^4.0.2",
"request": "^2.79.0",
"semver": "^5.3.0",
"tmp": "^0.0.31",
"tslib": "^1.6.0",
"vscode-debugadapter": "^1.17.0",
"vscode-debugprotocol": "^1.17.0",
"xml2js": "^0.4.17",
"xmldom": "^0.1.27"
},
"devDependencies": {
"typescript": "~2.1.6",
"vscode": "~1.0.3",
"tslint": "~3.15.1",
"mocha": "^2.3.3",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
"@types/mocha": "^2.2.39",
"@types/node": "^7.0.5",
"changelog": "^1.0.7",
"mocha": "^3.2.0",
"tslint": "^4.4.2",
"typescript": "^2.2.1",
"vscode": "^1.0.3"
},
"engines": {
"vscode": "^1.5.0"
Expand Down
Loading

0 comments on commit f9cf0a1

Please sign in to comment.