Compare commits

..

4 commits

4 changed files with 30 additions and 13 deletions

View file

@ -1,5 +1,6 @@
{ {
"chat.agent.enabled": false, "chat.agent.enabled": false,
"chat.disableAIFeatures": true,
"debug.allowBreakpointsEverywhere": true, "debug.allowBreakpointsEverywhere": true,
"diffEditor.ignoreTrimWhitespace": false, "diffEditor.ignoreTrimWhitespace": false,
"editor.accessibilitySupport": "off", "editor.accessibilitySupport": "off",
@ -9,6 +10,7 @@
"editor.multiCursorModifier": "ctrlCmd", "editor.multiCursorModifier": "ctrlCmd",
"editor.renderWhitespace": "boundary", "editor.renderWhitespace": "boundary",
"editor.tabSize": 2, "editor.tabSize": 2,
"editor.aiStats.enabled": false,
"explorer.confirmDelete": false, "explorer.confirmDelete": false,
"extensions.ignoreRecommendations": true, "extensions.ignoreRecommendations": true,
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
@ -17,9 +19,11 @@
"redhat.telemetry.enabled": false, "redhat.telemetry.enabled": false,
"terminal.integrated.fontFamily": "Hack", "terminal.integrated.fontFamily": "Hack",
"terminal.integrated.scrollback": 1000000, "terminal.integrated.scrollback": 1000000,
"terminal.integrated.suggest.enabled": false,
"update.showReleaseNotes": false, "update.showReleaseNotes": false,
"workbench.colorTheme": "Default Light+", "workbench.colorTheme": "Default Light+",
"workbench.secondarySideBar.defaultVisibility": "hidden", "workbench.secondarySideBar.defaultVisibility": "hidden",
"workbench.settings.showAISearchToggle": false,
"[asn1]": { "[asn1]": {
"editor.formatOnSave": false "editor.formatOnSave": false
}, },
@ -56,6 +60,7 @@
"C_Cpp.clang_format_path": "/usr/local/bin/clang-format", "C_Cpp.clang_format_path": "/usr/local/bin/clang-format",
"C_Cpp.default.configurationProvider": "vector-of-bool.cmake-tools", "C_Cpp.default.configurationProvider": "vector-of-bool.cmake-tools",
"C_Cpp.intelliSenseEngine": "Default", "C_Cpp.intelliSenseEngine": "Default",
"C_Cpp.copilotHover": "disabled",
"cmake.configureOnOpen": true, "cmake.configureOnOpen": true,
"cmake.generator": "Ninja", "cmake.generator": "Ninja",
"cmake.options.statusBarVisibility": "icon", "cmake.options.statusBarVisibility": "icon",
@ -167,6 +172,7 @@
"markdown-pdf.margin.right": "1.5cm", "markdown-pdf.margin.right": "1.5cm",
"python.linting.pylintPath": "/usr/local/bin/pylint", "python.linting.pylintPath": "/usr/local/bin/pylint",
"python.pythonPath": "/usr/local/bin/python3", "python.pythonPath": "/usr/local/bin/python3",
"python.analysis.aiHoverSummaries": false,
"rust-analyzer.hover.memoryLayout.size": "both", "rust-analyzer.hover.memoryLayout.size": "both",
"rust-analyzer.imports.granularity.enforce": true, "rust-analyzer.imports.granularity.enforce": true,
"yaml.format.printWidth": 110 "yaml.format.printWidth": 110

View file

@ -2,8 +2,8 @@
# Common/Devel: Install and Configure Dev Env - macOS Version # Common/Devel: Install and Configure Dev Env - macOS Version
- name: Devel - Fonts - name: Devel - Fonts
community.general.homebrew_cask: community.general.homebrew:
name: homebrew/cask-fonts/font-hack name: font-hack
state: present state: present
# Install Visual Studio Code and Set Basic Configuration # Install Visual Studio Code and Set Basic Configuration
@ -81,6 +81,6 @@
state: present state: present
vars: vars:
packages: packages:
- basictex - basictex # neeeds sudo
- tex-live-utility - tex-live-utility
diff: false diff: false

View file

@ -14,39 +14,46 @@
# - user_lang_latex: Boolean for LaTeX # - user_lang_latex: Boolean for LaTeX
- name: VSCode - Install and configure VS Code - name: VSCode - Install and configure VS Code
ansible.builtin.include_tasks: "{{ item }}" tags: vscode
ansible.builtin.include_tasks:
file: "{{ item }}"
apply:
tags: vscode
with_first_found: with_first_found:
- "devel-{{ ansible_facts['distribution'] }}.yml" - "devel-{{ ansible_facts['distribution'] }}.yml"
- "devel-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml" - "devel-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
# Install Visual Studio Code and Set Basic Configuration # Install Visual Studio Code and Set Basic Configuration
- name: VSCode - Basics - name: VSCode - Basics
tags: vscode
when: user_vscode when: user_vscode
block: block:
- name: VSCode - Basics - Configure - name: VSCode - Basics - Configure
ansible.builtin.shell: | ansible.builtin.shell: |
PATH=/usr/local/bin:$PATH PATH=/usr/local/bin:/opt/homebrew/bin:$PATH
code --install-extension chiehyu.vscode-astyle # code --install-extension chiehyu.vscode-astyle
code --install-extension editorconfig # code --install-extension editorconfig
code --install-extension mhutchie.git-graph code --install-extension mhutchie.git-graph
code --install-extension yzane.markdown-pdf code --install-extension yzane.markdown-pdf
code --install-extension jebbs.plantuml code --install-extension jebbs.plantuml
code --install-extension mechatroner.rainbow-csv code --install-extension mechatroner.rainbow-csv
code --install-extension grapecity.gc-excelviewer # code --install-extension grapecity.gc-excelviewer
# VS Code - C/C++ Development Tools # VS Code - C/C++ Development Tools
- name: VSCode - C/C++ - name: VSCode - C/C++
tags: lang_cpp
when: user_vscode and user_lang_cpp when: user_vscode and user_lang_cpp
block: block:
- name: VSCode - C/C++ - Configure VS Code - name: VSCode - C/C++ - Configure VS Code
ansible.builtin.shell: | ansible.builtin.shell: |
PATH=/usr/local/bin:$PATH PATH=/usr/local/bin:/opt/homebrew/bin:$PATH
code --install-extension ms-vscode.cpptools code --install-extension ms-vscode.cpptools
code --install-extension ms-vscode.cmake-tools code --install-extension ms-vscode.cmake-tools
# VS Code - Python Development Tools # VS Code - Python Development Tools
- name: Devel - Python - Install python dev packages - name: Devel - Python - Install python dev packages
tags: lang_python
when: user_lang_python when: user_lang_python
ansible.builtin.pip: ansible.builtin.pip:
name: name:
@ -58,12 +65,13 @@
block: block:
- name: VSCode - Python - Configure VS Code - name: VSCode - Python - Configure VS Code
ansible.builtin.shell: | ansible.builtin.shell: |
PATH=/usr/local/bin:$PATH PATH=/usr/local/bin:/opt/homebrew/bin:$PATH
code --install-extension ms-python.python code --install-extension ms-python.python
# VC Code - Golang Development Tools # VC Code - Golang Development Tools
# https://golang.org/doc/install # https://golang.org/doc/install
- name: Devel - Golang - Setup Environment - name: Devel - Golang - Setup Environment
tags: lang_golang
when: user_lang_golang when: user_lang_golang
block: block:
- name: Devel - Golang - Create workspace directory - name: Devel - Golang - Create workspace directory
@ -92,15 +100,17 @@
# and group all golang stuff in one section inside zshrc-host # and group all golang stuff in one section inside zshrc-host
- name: VSCode - Golang - name: VSCode - Golang
tags: lang_golang
when: user_vscode and user_lang_golang when: user_vscode and user_lang_golang
block: block:
- name: VSCode - Golang - Configure VS Code - name: VSCode - Golang - Configure VS Code
ansible.builtin.shell: | ansible.builtin.shell: |
PATH=/usr/local/bin:$PATH PATH=/usr/local/bin:/opt/homebrew/bin:$PATH
code --install-extension golang.go code --install-extension golang.go
# VS Code - LaTeX Distribution # VS Code - LaTeX Distribution
- name: Devel - LaTeX - Install TeX packages - name: Devel - LaTeX - Install TeX packages
tags: lang_latex
when: user_lang_latex when: user_lang_latex
become: true become: true
ansible.builtin.shell: | ansible.builtin.shell: |
@ -110,9 +120,10 @@
tlmgr install collection-fontsextra collection-fontsrecommended collection-fontutils collection-langgerman collection-langenglish collection-mathscience tlmgr install collection-fontsextra collection-fontsrecommended collection-fontutils collection-langgerman collection-langenglish collection-mathscience
tlmgr install todonotes textpos lipsum pgfopts xpatch enumitem nomencl glossaries glossaries-german glossaries-english datatool mfirstuc xfor substr tracklang placeins placeins-plain csquotes appendixnumberbeamer fontaxes hyphenat datetime2 scrhack setspaceenhanced catchfile lscapeenhanced tlmgr install todonotes textpos lipsum pgfopts xpatch enumitem nomencl glossaries glossaries-german glossaries-english datatool mfirstuc xfor substr tracklang placeins placeins-plain csquotes appendixnumberbeamer fontaxes hyphenat datetime2 scrhack setspaceenhanced catchfile lscapeenhanced
- name: VSCode - LaTeX - name: VSCode - LaTeX
tags: lang_latex
when: user_vscode and user_lang_latex when: user_vscode and user_lang_latex
block: block:
- name: VSCode - Basics - Configure - name: VSCode - Basics - Configure
ansible.builtin.shell: | ansible.builtin.shell: |
PATH=/usr/local/bin:$PATH PATH=/usr/local/bin:/opt/homebrew/bin:$PATH
code --install-extension james-yu.latex-workshop code --install-extension james-yu.latex-workshop

View file

@ -2,7 +2,7 @@
# Common/Usersettings: Universial Dotfiles. Update regularly. # Common/Usersettings: Universial Dotfiles. Update regularly.
- name: Usersettings - Install required tools - name: Usersettings - Install required tools
become: true become: "{{ ansible_facts['os_family'] != 'Darwin' }}"
ignore_errors: true # just fail on systems without sudo access ignore_errors: true # just fail on systems without sudo access
ansible.builtin.package: ansible.builtin.package:
name: "{{ packages }}" name: "{{ packages }}"