Skip to content

kenji-miyake/vscode-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-utils

Utils for vscode

Overview

This generates a dummy .gitmodules from colcon workspace file(.repos).

Prerequisites

  • Python 3.8+
  • pyyaml

Ubuntu

sudo apt install python3
pip3 install pyyaml

Usage

# Create .code-workspace
wget -P /tmp https://raw.githubusercontent.com/kenji-miyake/vscode-utils/main/repos2gitmodules.py
python3 /tmp/repos2gitmodules.py {path-to-your-repos-file}

# Open .code-workspace with VSCode
code {path-to-your-colcon-workspace}

Overview

This generates a VSCode workspace file(.code-workspace) from colcon workspace file(.repos).

Prerequisites

  • Python 3.8+
  • pyyaml

Ubuntu

sudo apt install python3
pip3 install pyyaml

Usage

# Create .code-workspace
wget -P /tmp https://raw.githubusercontent.com/kenji-miyake/vscode-utils/main/repos2workspace.py
python3 /tmp/repos2workspace.py {path-to-your-repos-file}

# Open .code-workspace with VSCode
code {path-to-the-generated-code-workspace-file}

Overview

This is a recommended config of C/C++ for colcon users.

Usage

cd {path-to-your-colcon-workspace}/.vscode
mv c_cpp_properties.json c_cpp_properties.json.old
wget https://raw.githubusercontent.com/kenji-miyake/vscode-utils/main/c_cpp_properties.json -O c_cpp_properties.json

About

Utils for vscode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages