Skip to content

Commit

Permalink
Merge pull request #2 from rock-core/autoproj
Browse files Browse the repository at this point in the history
Initial version
  • Loading branch information
doudou authored Jan 3, 2018
2 parents b739eb4 + 33be5af commit b6b837f
Show file tree
Hide file tree
Showing 24 changed files with 4,131 additions and 36 deletions.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 vector-of-bool <vectorofbool@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,26 @@ workspace.
## Features

- Sets up syntax highlighting for Rock files with non-standard extensions (e.g. .autobuild, .osdeps and .orogen)
- Autoproj integration
- Build
- Update
- Checkout
- Rock integration
- Debug (C/C++, Ruby, Orogen)

## Requirements

No additional requirements so far.
- Microsoft CPP Tools Extension
- Rebornix Ruby Extension
- Ruby gems:
- debase
- ruby-debug-ide
- rubocop (optional but recommended)

## Extension Settings

No settings so far.
- Package selection mode
- Debugging configuration

## Known Issues

Expand Down
Binary file added images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icon.xcf
Binary file not shown.
154 changes: 153 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,154 @@
"description": "Base support for Rock workspaces",
"version": "0.0.1",
"publisher": "rock-robotics",
"license": "SEE LICENSE IN LICENSE.txt",
"icon": "images/icon.png",
"author": {
"name": "Rock Robotics"
},
"contributors": [
{
"name": "Gabriel Arjones",
"email": "arjones@arjones.com"
},
{
"name": "Sylvain Joyeux",
"email": "sylvain.joyeux@m4x.org"
}
],
"galleryBanner": {
"color": "#458ccc",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/rock-core/vscode-rock.git"
},
"engines": {
"vscode": "^1.18.0"
},
"activationEvents": [
"*"
],
"main": "./out/extension",
"categories": [
"Other"
],
"keywords": [
"rock",
"robotics",
"autoproj",
"syskit",
"roby"
],
"contributes": {
"configuration": {
"title": "Rock integration with Visual Studio Code",
"properties": {
"rock.packageSelectionMode": {
"type": "string",
"enum": [
"auto",
"manual"
],
"default": "auto",
"description": "How current package is determined. Supported modes are 'auto' or 'manual'",
"scope": "window"
},
"rock.debug": {
"type": "object",
"description": "Debugging configuration",
"scope": "resource",
"properties": {
"cwd": {
"type": "string",
"description": "The working directory of the target",
"default": "${workspaceFolder}"
},
"args": {
"type": "array",
"description": "Command line arguments passed to the program",
"items": {
"type": "string"
},
"default": []
},
"orogen": {
"type": "object",
"description": "Debugging configuration specific to orogen packages",
"properties": {
"start": {
"type": "boolean",
"description": "Start (and configure) the task",
"default": false
},
"gui": {
"type": "boolean",
"description": "Start vizkit task inspector",
"default": true
},
"confDir": {
"type": "string",
"description": "Directory to load task configurations from",
"default": "${workspaceFolder}/scripts"
}
}
}
},
"default": {
"cwd": "${workspaceFolder}",
"args": [
],
"orogen": {
"start": false,
"gui": true,
"confDir": "${workspaceFolder}/scripts"
}
}
}
}
},
"problemMatchers": [
{
"name": "autoproj-build",
"owner": "rock",
"fileLocation": "absolute",
"pattern": {
"regexp": "^(.*):(.*):\\s+(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 3,
"line": 4,
"column": 5,
"severity": 6,
"message": 7
}
}
],
"commands": [
{
"title": "Select package",
"category": "rock",
"command": "rock.selectPackage"
},
{
"title": "Select package type",
"category": "rock",
"command": "rock.selectPackageType"
},
{
"title": "Set debugging target",
"category": "rock",
"command": "rock.setDebuggingTarget"
},
{
"title": "Build package",
"category": "rock",
"command": "rock.buildPackage"
},
{
"title": "Debug package",
"category": "rock",
"command": "rock.debugPackage"
}
],
"languages": [
{
Expand All @@ -32,10 +172,22 @@
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"extensionDependencies": [
"ms-vscode.cpptools",
"rebornix.Ruby"
],
"dependencies": {
"js-yaml": "latest"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"fs-temp": "latest",
"should": "latest",
"typemoq": "latest",
"@types/js-yaml": "latest",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
"@types/mocha": "^2.2.42",
"@types/should": "latest"
}
}
Loading

0 comments on commit b6b837f

Please sign in to comment.