User Tools

Site Tools


computer.setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computer.setup [2022/03/24 14:51] ig_sbcomputer.setup [2025/11/04 10:39] (current) – [Tools and Environments] ig_mb
Line 4: Line 4:
  
 This page provides an overview of what items and steps are needed to prepare a PC for work at IG. This page provides an overview of what items and steps are needed to prepare a PC for work at IG.
 +
 +Please check the [[Hardware Requirements|Hardware Requirements]] 
  
 ==== EMail and Communication ==== ==== EMail and Communication ====
Line 14: Line 16:
 In addition to the email, it is recommended to set up the following services using this address: In addition to the email, it is recommended to set up the following services using this address:
  
-  * Slack (https://slack.com/intl/de-de/)+  * Slack (https://slack.com/)
   * Discord (https://discord.com/)   * Discord (https://discord.com/)
-  * Zoom** (https://explore.zoom.us/de/products/meetings/+  * Zoom [1] (https://explore.zoom.us/de/products/meetings/
-  * Teams** (https://teams.microsoft.com/)+  * Teams [2] (https://teams.microsoft.com/)
  
 For Slack and Discord, there are IG internal servers.  For Slack and Discord, there are IG internal servers. 
 For a Slack invitation please contact Frank Werneburg (fw@intelligentgraphics.biz), for Discord please contact Maurice Teuber (mt@intelligentgraphics.biz). For a Slack invitation please contact Frank Werneburg (fw@intelligentgraphics.biz), for Discord please contact Maurice Teuber (mt@intelligentgraphics.biz).
  
-** Project related if needed+[1,2] Project related if needed
  
 ==== Process relevant Systems ==== ==== Process relevant Systems ====
Line 28: Line 30:
 ==== Tools and Environments ==== ==== Tools and Environments ====
  
 +=== Prettier ===
 +
 +Prettier is an opinionated code formatter. You can install it for vscode from the marketplace from https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode. 
 +Not all projects are setup to use prettier. Make sure to configure your vscode to only enable prettier if it is able to find a configuration file.
 +
 +{{:vscode-settings-prettier-require-config.png?400|}}
 +
 +You can setup a project to use prettier by creating a .prettierrc file with the following content:
 +
 +  {
 + "tabWidth": 4,
 + "useTabs": true,
 + "printWidth": 200,
 + "trailingComma": "all",
 + "singleQuote": false,
 + "bracketSpacing": true,
 + "semi": true,
 + "overrides": [
 + {
 + "files": "package.json",
 + "options": {
 + "useTabs": false,
 + "tabWidth": 2
 + }
 + }
 + ]
 +  }
 +
 +You can format many files with prettier by executing the following command:
 +
 +  npx prettier --write "**/*.{file extension (json or ts)}"
 +  
 +
 +F.e. in order to format all json and typescript files in all folders underneath the current directory you would use 
 +
 +  npx prettier --write "**/*.json" "**/*.ts"
 +
 +You can exclude files from being formatted by creating a .prettierignore file. This file uses the same syntax as .gitignore.
 +
 +In order to prevent prettier from formatting info.json files for geometries, you could create a .prettierignore with the following content: 
 +
 +''%%**/Geometries/**/info.json%%''
 ==== Source and files repositories aka GIT ==== ==== Source and files repositories aka GIT ====
  
computer.setup.1648129902.txt.gz · Last modified: 2024/04/04 08:04 (external edit)