Comments (2)
Hi,
can you please share your current configuration (code-server version, extension versions, networking, etc.)?
As you can see in this screenshot, IntelliSense was working well:
https://github.com/aws-samples/amazon-sagemaker-codeserver/blob/main/images/code-server-intellisense-sm.png
As a consequence, we need to investigate when and were this regression was introduced.
from amazon-sagemaker-codeserver.
Hi,
Thank you for your fast answer!
I have done further investigations in this direction and have to rephrase my original statement.
IntelliSense works for packages that are (pre-) installed in the conda environment
studio
but not in any other.
When I install code-server (4.15.0
) on Sagemaker Studio, I have the following conda environments available:
base (3.9.15)
code_server_py39 (3.9.17)
(source)jumpstart-env (3.10.12)
studio (3.9.12)
The code_server_py39 (3.9.17)
is automatically selected when starting code-server.
However, if I install new packages (i.e., pandas) in this environment I would not get any IntelliSense support for it.
It only works if I install new packages in studio (3.9.12)
and select this environment at least once in code-server so (my hypothesis) code-server can make a connection to the packages installed in studio (3.9.12)
. After that I can switch to any other env in code-server. However, I would only get IntelliSense support for packages installed in the mentioned studio env.
I can for now live with it. However, in best case code-server would read the packages of the current selected env so that one does not have to "pollute" the studio env with packages.
Setup:
- Installed code-server on Sagemaker Studio (not the Notebook Version)
- Tried it in internet and no-internet domains - Results are the same
Versions:
- Code-server version 4.15.0
- python extension version v2023.13.12091005
settings.json
:
{
"workbench.colorTheme":"Monokai",
"[python]":{
"editor.defaultFormatter":"ms-python.black-formatter",
"editor.formatOnSave":true,
"editor.codeActionsOnSave":{
"source.organizeImports":true
}
},
"isort.args":[
"--profile",
"black"
],
"python.languageServer": "Jedi"
}
from amazon-sagemaker-codeserver.
Related Issues (19)
- Best practice for getting more compute for VSCode? HOT 1
- codeserver on sagemaker studio HOT 9
- Error when adding notebook lifecycle configuration HOT 2
- Codeserver Icon doesn't appear HOT 9
- systemctl: command not found HOT 1
- [Feature Suggestion] Install ipykernel by default
- Creating a new Jupyter notebok gets stucks HOT 2
- will be python plot shown as can be done by usning X11 HOT 1
- Simpler configuration of options (like code-server version)
- Doesn't work for al2-v1 sagemaker-notebook? HOT 2
- Installation fails on JS1 HOT 2
- 👋🏾 Is it possible to find active notebooks and terminals on code-server? HOT 1
- Interactive python window not launching on code cell execution
- Can't get this to work on new Sagemaker Studio HOT 1
- Error loading webview: Could not register service workers
- need to specify platform identifier?
- Sagemaker Notebook Instance in VPC, code-server --install-extension hangs HOT 2
- Config option `kernel_spec_manager_class` not recognized by `DisableLabExtensionsApp`. HOT 2
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 amazon-sagemaker-codeserver.