Comments (6)
Can you open Sublime Text in safe mode and then open the console and run
import os; print(os.environ["PATH"])
from lsp-copilot.
And could you just run LSP: Troubleshoot Server
for LSP-copilot and paste the result here?
from lsp-copilot.
I have found the culprit is in lsp_utils
. I will file a PR there soon.
Note that I keep a lot of windows
This triggers the bug.
from lsp-copilot.
Can you open Sublime Text in safe mode and then open the console and run
import os; print(os.environ["PATH"])
>>> import os; print(os.environ["PATH"])
/home/[USERNAME]/google-cloud-sdk/bin:/home/[USERNAME]/.nvm/versions/node/v21.6.2/bin:/home/[USERNAME]/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/[USERNAME]/.local/bin
from lsp-copilot.
And could you just run
LSP: Troubleshoot Server
for LSP-copilot and paste the result here?
Troubleshooting: LSP-copilot
Version
- LSP: 2.1.0
- Sublime Text: 4169
Server Test Run
- exit code: 0
- output
Server Configuration
- command
[
"${node_bin}",
"${server_path}",
"--stdio"
]
- shell command
"/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin/node" "/home/[USERNAME]/.cache/sublime-text/Package Storage/LSP-copilot/18.18.1/language-server/node_modules/copilot-node-server/copilot/dist/language-server.js" --stdio
- selector
source | text | embedding
- priority_selector
source | text | embedding
- init_options
{}
- settings
{
"auto_ask_completions": true,
"commit_completion_on_tab": true,
"completion_style": "popup",
"debug": false,
"hook_to_auto_complete_command": false,
"local_checks": false,
"proxy": "",
"telemetry": false
}
- env
{
"PATH": "/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:/home/[USERNAME]/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/18.18.1/node/bin:"
}
Active view
- File name
None
- Settings
{
"auto_complete_selector": null,
"lsp_active": null,
"syntax": null
}
Project / Workspace
- folders
[]
- is project: False
LSP configuration
{}
System PATH
- /home/[USERNAME]/.local/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
- /snap/bin
from lsp-copilot.
The upstream has merged the fix so we just have to wait for its new release.
from lsp-copilot.
Related Issues (20)
- LSP-copilot options not available in command palette HOT 14
- "KeyError" when using phantom HOT 1
- In "panel completion", `Mean Probability` seems to be always `0` HOT 5
- Can't sign out HOT 6
- Microsoft copilot? HOT 2
- No module named 'more_itertools' since reinstalling LSP-copilot plugin HOT 3
- No pop ups or phantom suggestions - what am I missing? HOT 14
- Visual feedback that LSP-copilot is busy HOT 5
- Error: No instance of WorkspaceWatcherProvider has been registered HOT 2
- .copilotignore extension wide, folder independent HOT 2
- Add a few examples? HOT 2
- Delete turn fails if race condition due to `[index+1]` logic HOT 1
- Follow up link rendering / command issue HOT 7
- spinner / other loading indicator HOT 2
- byok / anthropic claude HOT 4
- Copilot chat HOT 7
- Copilot spams Sublime Text log with minihtml errors when generating `html` HOT 2
- How to change the color of the follow up link? HOT 4
- VSCode command mirroring
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp-copilot.