Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
e48499f1
Commit
e48499f1
authored
2 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Tutorial:
- polished configuration of VSCode IDE
parent
54ce6e00
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!54
Release 2.0.0
,
!10
Tutorials cleanup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tutorial/3-1-configure-vscode.md
+7
-2
7 additions, 2 deletions
tutorial/3-1-configure-vscode.md
with
7 additions
and
2 deletions
tutorial/3-1-configure-vscode.md
+
7
−
2
View file @
e48499f1
...
...
@@ -88,5 +88,10 @@ This step installs Python extensions in VSCode server running in the VM.
-
In VSCode (connected to the VM), click left button "Explorer"
-
Click "Ctrl+Alt+P" and type "Python: Select Interpreter". Select option "Python: 3.9.13 64-bit ('tfs')"
in terminal: set python path to be used by VSCode:
`echo "PYTHONPATH=./src" > ~/tfs-ctrl/.env`
## 3.1.6. Define environment variables for VSCode
The source code in the TFS controller project is hosted in folder
`src/`
. To help VSCode find the Python modules and
packages, add the following file into your working space root folder:
```
bash
echo
"PYTHONPATH=./src"
>>
~/tfs-ctrl/.env
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment