diff --git a/files/vscode-settings.json b/files/vscode-settings.json index 1774469..897afd8 100644 --- a/files/vscode-settings.json +++ b/files/vscode-settings.json @@ -1,6 +1,5 @@ { "chat.agent.enabled": false, - "chat.disableAIFeatures": true, "debug.allowBreakpointsEverywhere": true, "diffEditor.ignoreTrimWhitespace": false, "editor.accessibilitySupport": "off", @@ -10,7 +9,6 @@ "editor.multiCursorModifier": "ctrlCmd", "editor.renderWhitespace": "boundary", "editor.tabSize": 2, - "editor.aiStats.enabled": false, "explorer.confirmDelete": false, "extensions.ignoreRecommendations": true, "files.trimTrailingWhitespace": true, @@ -19,11 +17,9 @@ "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 }, @@ -60,7 +56,6 @@ "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", @@ -172,7 +167,6 @@ "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 diff --git a/tasks/devel-Darwin.yml b/tasks/devel-Darwin.yml index a315680..7f088b5 100644 --- a/tasks/devel-Darwin.yml +++ b/tasks/devel-Darwin.yml @@ -2,8 +2,8 @@ # Common/Devel: Install and Configure Dev Env - macOS Version - name: Devel - Fonts - community.general.homebrew: - name: font-hack + community.general.homebrew_cask: + name: homebrew/cask-fonts/font-hack state: present # Install Visual Studio Code and Set Basic Configuration @@ -81,6 +81,6 @@ state: present vars: packages: - - basictex # neeeds sudo + - basictex - tex-live-utility diff: false diff --git a/tasks/devel.yml b/tasks/devel.yml index a942f1c..a67d951 100644 --- a/tasks/devel.yml +++ b/tasks/devel.yml @@ -14,46 +14,39 @@ # - user_lang_latex: Boolean for LaTeX - name: VSCode - Install and configure VS Code - tags: vscode - ansible.builtin.include_tasks: - file: "{{ item }}" - apply: - tags: vscode + ansible.builtin.include_tasks: "{{ item }}" 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:/opt/homebrew/bin:$PATH - # code --install-extension chiehyu.vscode-astyle - # code --install-extension editorconfig + PATH=/usr/local/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:/opt/homebrew/bin:$PATH + PATH=/usr/local/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: @@ -65,13 +58,12 @@ block: - name: VSCode - Python - Configure VS Code ansible.builtin.shell: | - PATH=/usr/local/bin:/opt/homebrew/bin:$PATH + PATH=/usr/local/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 @@ -100,17 +92,15 @@ # 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:/opt/homebrew/bin:$PATH + PATH=/usr/local/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: | @@ -120,10 +110,9 @@ 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:/opt/homebrew/bin:$PATH + PATH=/usr/local/bin:$PATH code --install-extension james-yu.latex-workshop diff --git a/tasks/usersettings.yml b/tasks/usersettings.yml index 1aa2923..d24265c 100644 --- a/tasks/usersettings.yml +++ b/tasks/usersettings.yml @@ -2,7 +2,7 @@ # Common/Usersettings: Universial Dotfiles. Update regularly. - name: Usersettings - Install required tools - become: "{{ ansible_facts['os_family'] != 'Darwin' }}" + become: true ignore_errors: true # just fail on systems without sudo access ansible.builtin.package: name: "{{ packages }}"