> For the complete documentation index, see [llms.txt](https://coursepress.gitbook.io/1dv021/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://coursepress.gitbook.io/1dv021/guider/programvaror/visual-studio-code-utvecklingsverktyg.md).

# Visual Studio Code - utvecklingsverktyg

Visual Studio Code är en enkel men kraftfull utvecklingsverktyg, som körs på skrivbordet, för redigering av källkod och är tillgänglig för Linux, macOS och Windows. Den levereras med inbyggt stöd för JavaScript och Node.js och har ett rikt ekosystem med tillägg för många andra språk.

{% hint style="success" %}
Redan nyfiken på vad Visual Studio Code egentligen är? För att få reda på mer läs <https://code.visualstudio.com/docs>.

Du är fri att använda annat utvecklingsverktyg än Visual Studio Code. Dock kommer vi i guider och vid handledning främst använda Visual Studio Code.
{% endhint %}

## Steg 1. Installera Visual Studio Code

Hämta hem och installera Visual Studio Code för din plattform, [Linux](https://code.visualstudio.com/docs/setup/linux), [Mac](https://code.visualstudio.com/docs/setup/mac) eller [Windows](https://code.visualstudio.com/docs/setup/windows). Läs mer allmänt om hur du kan gå till väga på <https://code.visualstudio.com/docs/setup/setup-overview>.

## Steg 2. Starta Visaul Studio Code

Sök efter och starta Visual Studio Code på din plattform.

## Steg 3. Installera tillägget JavaScript Standard Style

Öppna **Quick Open** (`Ctrl+P`, `Cmd+P`) i Visual Studio Code och lägg till följande kommando och tryck på enter-tangenten.

```
ext install vscode-standardjs
```

{% hint style="info" %}
Gå till <https://marketplace.visualstudio.com/items?itemName=chenxsan.vscode-standardjs> för mer information om tillägget *JavaScript Standard Style*.
{% endhint %}

## Steg 4. Installera tillägget gi

Öppna **Quick Open** (`Ctrl+P`, `Cmd+P`) i Visual Studio Code och lägg till följande kommando och tryck på enter-tangenten.

```
ext install gi
```

{% hint style="info" %}
Detta tillägg använder du för att skapa och underhålla .gitignore-filer. Tillägget använder gitignore.io, <https://www.gitignore.io/>, en tjänst du även kan använda direkt online (eller köra från kommandoraden i ett terminalfönster).
{% endhint %}

## Steg 5. Andra intressanta tillägg

Det finns en stor mängd tillägg som kan vara intressant för dig att installera. Några skulle kunna vara:

* [Document This](https://marketplace.visualstudio.com/items?itemName=joelday.docthis), `ext install docthis`
* [npm Intellisens](https://marketplace.visualstudio.com/items?itemName=christian-kohler.npm-intellisense), `ext install npm-intellisense`
* [vscode-icons](https://marketplace.visualstudio.com/items?itemName=robertohuertasm.vscode-icons), `ext install vscode-icons`

## Steg 6. Klart!

Nu är allt klart för att du ska kunna börja arbeta med Visual Studio Code. För en genomgång av Visual Studio Code rekommenderas följande resurser:

* [Introductory Videos](https://code.visualstudio.com/docs/getstarted/introvideos)
* [User Interface](https://code.visualstudio.com/docs/getstarted/userinterface)
* [Intergrated Terminal](https://code.visualstudio.com/docs/editor/integrated-terminal)
* [JavaScript in VS Code](https://code.visualstudio.com/docs/languages/javascript)
* [Node.js Tutorial in VS Code](https://code.visualstudio.com/docs/nodejs/nodejs-tutorial) (fram till och med rubriken *Express Tutorial*)
* [Debugging](https://code.visualstudio.com/docs/editor/debugging)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://coursepress.gitbook.io/1dv021/guider/programvaror/visual-studio-code-utvecklingsverktyg.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
