yeraydiazdiaz / yeray.dev Goto Github PK
View Code? Open in Web Editor NEWMy personal website
Home Page: https://yeray.dev
My personal website
Home Page: https://yeray.dev
I follow you blog use sublime text 4 install LSP, LSP-pylsp, LSP-json.
// Settings in here override those in "LSP-pylsp/LSP-pylsp.sublime-settings"
{
"pylsp.plugins.mypy-ls.enabled": true,
"pylsp.plugins.flake8.enabled": true,
"pylsp.configurationSources": ["flake8"],
"pylsp.plugins.pyls_black.enabled": true,
}
I can't see Flake8 and mypy errors ,seems like Flake8 and mypy are not working
I don't use a virtual environment
[
"$server_path"
]
"C:\Apps\sublime_text\Data\Package Storage\LSP-pylsp\Scripts\pylsp.exe"
source.python
(source.python)
{}
{
"pylsp": {
"configurationSources": [
"pycodestyle"
],
"plugins": {
"autopep8": {
"enabled": true
},
"black": {
"cache_config": false,
"enabled": false,
"line_length": 88,
"preview": false
},
"flake8": {
"config": null,
"enabled": false,
"exclude": null,
"executable": "flake8",
"filename": null,
"hangClosing": null,
"ignore": null,
"maxLineLength": null,
"perFileIgnores": null,
"select": null
},
"jedi": {
"env_vars": null,
"environment": null,
"extra_paths": [
"$sublime_py_files_dir",
"$packages"
]
},
"jedi_completion": {
"cache_for": [
"pandas",
"numpy",
"tensorflow",
"matplotlib"
],
"eager": false,
"enabled": true,
"fuzzy": true,
"include_class_objects": true,
"include_params": true,
"resolve_at_most": 25
},
"jedi_definition": {
"enabled": true,
"follow_builtin_imports": true,
"follow_imports": true
},
"jedi_hover": {
"enabled": true
},
"jedi_references": {
"enabled": true
},
"jedi_signature_help": {
"enabled": true
},
"jedi_symbols": {
"all_scopes": true,
"enabled": true,
"include_import_symbols": true
},
"mccabe": {
"enabled": true,
"threshold": 15
},
"preload": {
"enabled": true,
"modules": null
},
"pycodestyle": {
"aggressive": null,
"enabled": true,
"exclude": null,
"filename": null,
"hangClosing": null,
"ignore": null,
"maxLineLength": null,
"select": null
},
"pydocstyle": {
"addIgnore": null,
"addSelect": null,
"convention": null,
"enabled": false,
"ignore": null,
"match": "(?!test_).*\\.py",
"matchDir": "[^\\.].*",
"select": null
},
"pyflakes": {
"enabled": false
},
"pylint": {
"args": null,
"enabled": false,
"executable": ""
},
"pyls_isort": {
"enabled": false
},
"pylsp_mypy": {
"dmypy": false,
"enabled": false,
"live_mode": true,
"strict": false
},
"rope_completion": {
"eager": false,
"enabled": false
},
"yapf": {
"enabled": false
}
},
"rope": {
"extensionModules": null,
"ropeFolder": null
}
}
}
{
"MYPYPATH": "${sublime_py_files_dir}${pathsep}${packages}",
"PATH": "C:\\Apps\\sublime_text\\Data\\Package Storage\\LSP-pylsp\\Scripts;C:\\Apps\\sublime_text\\Data\\Package Storage\\LSP-pylsp\\Scripts;",
"PYTHONPATH": "${sublime_py_files_dir}${pathsep}${packages}"
}
C:\Users\brucm\Desktop\test.py
{
"auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
"lsp_active": true,
"syntax": "Packages/MagicPython/grammars/MagicPython.tmLanguage"
}
source.python
[]
null
I setted up Pylsp exacly the way you wrote in your blog.
I'm using a virtual environment, so I also setted it up the way you wrote in your blog (except the PATH).
Now, when enabling the plugin in the project, Sublime Text says pylsp server crashed 5 times in the las 180 seconds.
I setted up the log file as you wrote in your blog, but no log file is created.
Do you have any idea on how to solve it and make it actually work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.