Compare commits

...

4 commits

4 changed files with 30 additions and 13 deletions

View file

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

View file

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

View file

@ -14,39 +14,46 @@
# - user_lang_latex: Boolean for LaTeX
- 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:
- "devel-{{ ansible_facts['distribution'] }}.yml"
- "devel-{{ (override_os_family is defined) | ternary(override_os_family, ansible_facts['os_family']) }}.yml"
# Install Visual Studio Code and Set Basic Configuration
- name: VSCode - Basics
tags: vscode
when: user_vscode
block:
- name: VSCode - Basics - Configure
ansible.builtin.shell: |
PATH=/usr/local/bin:$PATH
code --install-extension chiehyu.vscode-astyle
code --install-extension editorconfig
PATH=/usr/local/bin:/opt/homebrew/bin:$PATH
# code --install-extension chiehyu.vscode-astyle
# code --install-extension editorconfig
code --install-extension mhutchie.git-graph
code --install-extension yzane.markdown-pdf
code --install-extension jebbs.plantuml
code --install-extension mechatroner.rainbow-csv
code --install-extension grapecity.gc-excelviewer
# code --install-extension grapecity.gc-excelviewer
# VS Code - C/C++ Development Tools
- name: VSCode - C/C++
tags: lang_cpp
when: user_vscode and user_lang_cpp
block:
- name: VSCode - C/C++ - Configure VS Code
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.cmake-tools
# VS Code - Python Development Tools
- name: Devel - Python - Install python dev packages
tags: lang_python
when: user_lang_python
ansible.builtin.pip:
name:
@ -58,12 +65,13 @@
block:
- name: VSCode - Python - Configure VS Code
ansible.builtin.shell: |
PATH=/usr/local/bin:$PATH
PATH=/usr/local/bin:/opt/homebrew/bin:$PATH
code --install-extension ms-python.python
# VC Code - Golang Development Tools
# https://golang.org/doc/install
- name: Devel - Golang - Setup Environment
tags: lang_golang
when: user_lang_golang
block:
- name: Devel - Golang - Create workspace directory
@ -92,15 +100,17 @@
# and group all golang stuff in one section inside zshrc-host
- name: VSCode - Golang
tags: lang_golang
when: user_vscode and user_lang_golang
block:
- name: VSCode - Golang - Configure VS Code
ansible.builtin.shell: |
PATH=/usr/local/bin:$PATH
PATH=/usr/local/bin:/opt/homebrew/bin:$PATH
code --install-extension golang.go
# VS Code - LaTeX Distribution
- name: Devel - LaTeX - Install TeX packages
tags: lang_latex
when: user_lang_latex
become: true
ansible.builtin.shell: |
@ -110,9 +120,10 @@
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
- name: VSCode - LaTeX
tags: lang_latex
when: user_vscode and user_lang_latex
block:
- name: VSCode - Basics - Configure
ansible.builtin.shell: |
PATH=/usr/local/bin:$PATH
PATH=/usr/local/bin:/opt/homebrew/bin:$PATH
code --install-extension james-yu.latex-workshop

View file

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