Table of Contents
Setup my computer
Intro
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
EMail and Communication
The most important basis for working and using tools is an IG own email address. IG internal administration tasks are usually handled via a ticket system, but for access you need an IG email address. The best way is to simply ask a colleague to open the appropriate ticket for you. It is generally a good idea to ask a colleague about such issues if you are not sure.
If the email address is active, you can log in to the portal (https://office.mailbox.org/appsuite/#!!&app=io.ox/portal) at any time and read and write emails. There you can also find help to retrieve the emails with the help of tools and apps.
In addition to the email, it is recommended to set up the following services using this address:
- Slack (https://slack.com/)
- Discord (https://discord.com/)
- Teams [2] (https://teams.microsoft.com/)
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).
[1,2] Project related if needed
Process relevant Systems
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.
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

