Skip to content

Instantly share code, notes, and snippets.

@k3karthic
Last active May 12, 2023 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k3karthic/4474a5384970a1ba508b0a0cf7bc5904 to your computer and use it in GitHub Desktop.
Save k3karthic/4474a5384970a1ba508b0a0cf7bc5904 to your computer and use it in GitHub Desktop.
Sublime Configuration
  • EditorConfig
  • JsPrettier
  • LSP
  • LSP-pylsp
  • LSP-typescript
  • LSP-eslint
  • Pretty JSON
  • Pretty YAML
  • Sidebar Enhancements
  • Tabnine
// Settings in here override those in "LSP-pylsp/LSP-pylsp.sublime-settings"
{
"python_binary": "C:\\Users\\KarthicKumaran\\scoop\\apps\\python310\\current\\python.exe",
"settings": {
"pylsp.plugins.yapf.enabled": false,
"pylsp.plugins.autopep8.enabled": false,
"pylsp.plugins.pylsp_black.enabled": true,
"pylsp.plugins.pycodestyle.enabled": false,
"pylsp.plugins.pydocstyle.enabled": false,
"pylsp.plugins.flake8.enabled": false,
"pylsp.plugins.pyflakes.enabled": false,
"pylsp.plugins.pylint.enabled": false,
"pylsp.plugins.pylsp_mypy.enabled": true,
"pylsp.plugins.mccabe.enabled": false,
"pylsp.plugins.pyls_isort.enabled": false,
"pylsp.plugins.ruff.enabled": true,
},
"enabled": false,
}
// Settings in here override those in "LSP/LSP.sublime-settings"
{
"show_inlay_hints": true
}
// Settings in here override those in "LSP-typescript/LSP-typescript.sublime-settings"
{
"settings": {
// Javascript inlay hints options.
"javascript.inlayHints.includeInlayEnumMemberValueHints": true,
"javascript.inlayHints.includeInlayFunctionLikeReturnTypeHints": true,
"javascript.inlayHints.includeInlayFunctionParameterTypeHints": true,
"javascript.inlayHints.includeInlayParameterNameHints": "all",
"javascript.inlayHints.includeInlayParameterNameHintsWhenArgumentMatchesName": true,
"javascript.inlayHints.includeInlayPropertyDeclarationTypeHints": true,
"javascript.inlayHints.includeInlayVariableTypeHints": true,
// Typescript inlay hints options.
"typescript.inlayHints.includeInlayEnumMemberValueHints": true,
"typescript.inlayHints.includeInlayFunctionLikeReturnTypeHints": true,
"typescript.inlayHints.includeInlayFunctionParameterTypeHints": true,
"typescript.inlayHints.includeInlayParameterNameHints": "all",
"typescript.inlayHints.includeInlayParameterNameHintsWhenArgumentMatchesName": true,
"typescript.inlayHints.includeInlayPropertyDeclarationTypeHints": true,
"typescript.inlayHints.includeInlayVariableTypeHints": true,
},
"enabled": false,
}
{
"folders":
[
{
"path": ".",
}
],
"debugger_configurations":
[
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
},
],
"settings":
{
"LSP":
{
"LSP-typescript":
{
"enabled": true,
},
"LSP-eslint":
{
"enabled": true
},
},
},
}
{
"folders":
[
{
"path": ".",
}
],
"settings": {
"LSP": {
"LSP-pylsp": {
"settings": {
"pylsp.plugins.ruff.extendSelect": ["C90", "I", "N", "UP"],
},
"enabled": true,
},
},
},
"debugger_configurations":
[
{
"name": "Python: manage.py",
"type": "python",
"request": "launch",
"program": "${project_path}/manage.py",
"justMyCode": true,
"args": [
"runserver"
],
},
],
}
{
"ignored_packages":
[
"Vintage",
],
"font_face": "Cascadia Code Light",
"font_size": 11,
"auto_complete": true,
"color_scheme": "Mariana.sublime-color-scheme",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment