All notable changes to the "colcon-helper" extension will be documented in this file.
- Better handling if no shell configuration is set
task
property is no more needed for task definitions intasks.json
- Drop support of
colcon.*Args
configuration options. Arguments specification intasks.json
is the only supported way since now. - "Build packages up to current" command
- Hide "build current" commands if active editor is outside of known packages
- Minor changes in
CHANGELOG.md
andREADME.md
- Instructions for Windows in
README.md
including instructions about how to run tasks withinpowershell
- Support for running colcon on Windows.
Please, note that currently you must usecmd
as shell for running colcon tasks.
If you want to keep your settings for integrated shell, like pwsh
, you can use new colcon.shell
configuration setting
to specify which shell to use when running colcon tasks.
Also you must include Visual Studio batch file in your setup to run tasks in build environment. For example:
"colcon.workspaceSetup": [
"C:\\ros2\\foxy\\local_setup.bat",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat",
"install/setup.bat"
],
- Minor improvement in README by https://github.com/flynneva (deitry#27)
- Fixed passing env file when creating tasks, thanks https://github.com/richarddan
- Remove 'experimental' label from 'foxy'
- Merged PR by https://github.com/fpasch that adds additional
--packages-up-to
build command.
-
Commands for enabling/disabling task detection for workspace folder with QuickPick for target ROS2 version. QuickPick is displayed only if you have no workspaceFolder-level
workspaceSetup
. -
Configuration options
colcon.rosInstallPath.<platform>
for installed ROS2 discovery. -
Task resolver implementation. If you save tasks in
tasks.json
, they will be displayed even withprovideTasks
set tofalse
. -
Tasks settings (such as
runCommand
andbuildArgs
) are deprecated in favor of User/Workspace or local leveltasks.json
. Now you can configure each task individually right intasks.json
. User/Workspace tasks are available since VS Code 1.42 -
ros2 launch
get its own task type instead ofcolcon run
. You can setup more than onelaunch
command and configure them more precisely. -
custom
task type. Now you can create your own command that will use the same environment. -
Default
globalSetup
config option is now empty list. It is recommended to add global ROSsetup
to yourworkspaceSetup
instead, so you can configure several workspaces for different target ROS versions. -
TODO: README.md is not updated yet
- Relative path resolve for new version of
colcon list
output
- No need to choose workspace folder if there is only one.
- Do not show error if there is no opened folders at all.
- Updated manifest
- Do not scan for packages if workspaceFolder
colcon.provideTasks
is not set or false.
ros2 launch
on active file if it ends with.launch.py
and is inside colcon workspace folder
- Build commands now always ask for workspace folder
- Build commands via command panel
- Build task/cmmand for current or arbitrary choosed package
- Ability to build single package in which current opened document is located.
- Description and howtos in README.md
colcon
icon
- Improved multi-root workspace support
- Support colcon running in multi-root workspaces. Almost any folder settings for colcon will be respected.
- Next iteration on possibility to source arbitrary files:
userSetup
is gone,workspaceSetup
andglobalSetup
are lists now. - Separated option to pass arguments to launch file
- Added
userSetup
option as possibility to source arbitrary file like.bashrc
- Initial release