Skip to content

Instantly share code, notes, and snippets.

@Diogo-Rossi
Diogo-Rossi / settings.json
Last active September 20, 2021 01:26
Settings configuring VS Code to run python files in IPython like in Spyder
{
"terminal.integrated.defaultProfile.windows": "IPython",
"terminal.integrated.profiles.windows": {
"IPython":{
"path": "ipython",
"overrideName": true,
"icon": "debug-start"
},
},
"macros.list": {
@Diogo-Rossi
Diogo-Rossi / syncextensions.py
Last active July 28, 2023 20:01
Python script to sync extensions in VS Code
from __future__ import annotations
ignoreextensions = [] # cSpell:disable-line
print('-'*60)
import os
import subprocess
from dataclasses import dataclass
from packaging.version import parse as version, Version
from typing import Union
@Diogo-Rossi
Diogo-Rossi / workaround.md
Last active October 25, 2024 03:03
Workaround to make a VSCode settings sync to a regular GitHub repository

Requirements:

  • git
  • python
  • code (cli of VSCode)

All reachable from the PATH of the system

Steps: (9 steps)

  1. Using the portable version of VS Code, there is a /data/ folder in the software's directory
@Diogo-Rossi
Diogo-Rossi / vscode-git-commit-Diogo-Rossi.json
Created January 8, 2024 13:32
vscode-git-commit template by Diogo-Rossi
{
"vscodeGitCommit.template": [ "{type}: {message}" ],
"vscodeGitCommit.variables": {
"type": [
{
"label": "🚧 wip",
"detail": "Work in progress."
},
{
"label": "__🔒 private",