Skip to content
Snippets Groups Projects
Commit cded91fc authored by Attila Krasznahorkay's avatar Attila Krasznahorkay Committed by Frank Winklmeier
Browse files

VSCode WorkDir Workspace, main branch (2025.03.06.)

VSCode WorkDir Workspace, main branch (2025.03.06.)
parent d188560f
No related branches found
No related tags found
2 merge requests!78323VSCode WorkDir Workspace, main branch (2025.03.06.),!76343Draft: MooTrackBuilder: Recalibrate NSW hits in refine method
......@@ -10,8 +10,11 @@
"cStandard": "c11",
"cppStandard": "c++20",
"intelliSenseMode": "gcc-x64",
"compileCommands": "${workspaceFolder}/../build/compile_commands.json"
"compileCommands": [
"${workspaceFolder}/../build/compile_commands.json"
],
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
}
}
\ No newline at end of file
{
"python.defaultInterpreterPath": "${workspaceFolder}/../../../build/ide_python",
"python.envFile": "${workspaceFolder}/../../../build/env.txt",
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
},
"autopep8.path": [
"${workspaceFolder}/../../../build/ide_autopep8"
],
"flake8.path": [
"${workspaceFolder}/../../../build/ide_flake8"
],
"flake8.args": [
"--isolated",
"--select=ATL,B,F,E101,E7,E9,W6", // note that equals sign is required by VS Code
"--ignore=B006,B007,B019,E701,E702,E704,E741",
"--enable-extensions=ATL902"
],
"cmake.buildDirectory": "${workspaceFolder}/../../../build",
"cmake.configureSettings" : {
"ATLAS_ENABLE_IDE_HELPERS" : "TRUE",
"ATLAS_PACKAGE_FILTER_FILE" : "${workspaceFolder}/../../../package_filters.txt"
}
}
......@@ -51,3 +51,22 @@ would do something like this to set up your runtime environment from scratch:
asetup ...
source build/x86_64-slc6-gcc49-opt/setup.sh
Using the included Visual Studio Code Workspace
-----------------------------------------------
The project includes `WorkDir.code-workspace`, which can be used to simplify
working with this project in [VSCode](https://code.visualstudio.com/). To use
it natively on a machine using the operating system that an ATLAS nightly would
have been built against
([EL9](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9)
at the time of writing), you could do:
asetup ...
echo "+ Control/AthenaExamples/AthExHelloWorld \n- .*" > package_filters.txt
code athena/Projects/WorkDir/WorkDir.code-workspace
With the
[C\+\+ Extension Pack](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools-extension-pack)
installed, you can now build the project using your freshly made
`package_filters.txt` file, with the click of a button.
{
"folders": [
{
"path": "."
},
{
"path": "../../"
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment