|
1 | | -# Code editors |
| 1 | +# Editors de codi |
2 | 2 |
|
3 | | -A code editor is the place where programmers spend most of their time. |
| 3 | +Un editor de codi és on els programadors passen la major part del temps. |
4 | 4 |
|
5 | | -There are two main types of code editors: IDEs and lightweight editors. Many people use one tool of each type. |
| 5 | +Existeixen dos tipus principals d'editors de codi: IDEs i editors lleugers. La majoria de la gent fa servir una eina de cada tipus. |
6 | 6 |
|
7 | 7 | ## IDE |
8 | 8 |
|
9 | | -The term [IDE](https://en.wikipedia.org/wiki/Integrated_development_environment) (Integrated Development Environment) refers to a powerful editor with many features that usually operates on a "whole project." As the name suggests, it's not just an editor, but a full-scale "development environment." |
| 9 | +El terme [IDE](https://en.wikipedia.org/wiki/Integrated_development_environment) (Entorn de Desenvolupament Integrat) fa referència a un editor potent amb diverses característiques que generalment opera en un projecte sencer. Com el nom indica, no és només un editor, sinó un entorn de desenvolupament sencer. |
10 | 10 |
|
11 | | -An IDE loads the project (which can be many files), allows navigation between files, provides autocompletion based on the whole project (not just the open file), and integrates with a version management system (like [git](https://git-scm.com/)), a testing environment, and other "project-level" stuff. |
| 11 | +Un IDE carrega el projecte (que pot ésser format per diversos fitxers), permet la navegació entre arxius, proporciona autocompletat basant-se en el projecte sencer (i no només en el fitxer obert), i s'integra amb un sistema de control de versions (com [git](https://git-scm.com/)), un entorn de proves, i altres eines "a nivell de projecte". |
12 | 12 |
|
13 | | -If you haven't selected an IDE yet, consider the following options: |
| 13 | +Si encara no heu seleccionat un IDE, considereu les següents opcions: |
14 | 14 |
|
15 | | -- [WebStorm](http://www.jetbrains.com/webstorm/) for frontend development. The same company offers other editors for other languages (paid). |
16 | | -- [Netbeans](http://netbeans.org/) (free). |
| 15 | +- [WebStorm](http://www.jetbrains.com/webstorm/) per desenvolupament frontend. La mateixa empresa ofereix altres editors per altres llenguatges (de pagament). |
| 16 | +- [Netbeans](http://netbeans.org/) (gratuït). |
17 | 17 |
|
18 | | -All of these IDEs are cross-platform. |
| 18 | +Tots aquests IDEs són multiplataforma. |
19 | 19 |
|
20 | | -For Windows, there's also "Visual Studio", not to be confused with "Visual Studio Code." "Visual Studio" is a paid and mighty Windows-only editor, well-suited for the .NET platform. A free version of it is called [Visual Studio Community](https://www.visualstudio.com/vs/community/). |
| 20 | +Per Windows, també existeix el "Visual Studio", que no s'ha de confondre amb el "Visual Studio Code." "Visual Studio" és un producte de pagament només per Windows, molt adequat per la plataforma .NET. Existeix una versió gratuïta anomenada [Visual Studio Community](https://www.visualstudio.com/vs/community/). |
21 | 21 |
|
22 | | -Many IDEs are paid but have a trial period. Their cost is usually negligible compared to a qualified developer's salary, so just choose the best one for you. |
| 22 | +Alguns IDEs són de pagament però ofereixen un període de prova. El cost és - o hauria de ser - generalment negligible comparat amb el sou d'un desenvolupador qualificat, així que trieu el que més se us adeqüi. |
23 | 23 |
|
24 | | -## Lightweight editors |
| 24 | +## Editors lleugers |
25 | 25 |
|
26 | | -"Lightweight editors" are not as powerful as IDEs, but they're fast, elegant and simple. |
| 26 | +Els "editors lleugers" no són tan potents com els IDEs, però són ràpids, elegants i simples. |
27 | 27 |
|
28 | | -They are mainly used to open and edit a file instantly. |
| 28 | +S'empren principalment per obrir i editar immediatament un fitxer. |
29 | 29 |
|
30 | | -The main difference between a "lightweight editor" and an "IDE" is that an IDE works on a project-level, so it loads much more data on start, analyzes the project structure if needed and so on. A lightweight editor is much faster if we need only one file. |
| 30 | +La principal diferència entre un "editor lleuger" i un "IDE" és que l'IDE treballa a nivell de projecte, així que carrega moltes més dades al principi, tot analitzant l'estructura del projecte si és necessari, etc. Un editor lleuger és molt més ràpid per quan només necessitem consultar un sol fitxer. |
31 | 31 |
|
32 | | -In practice, lightweight editors may have a lot of plugins including directory-level syntax analyzers and autocompleters, so there's no strict border between a lightweight editor and an IDE. |
| 32 | +A la pràctica, els editors lleugers vénen acompanyats de diversos plugins que ofereixen analitzadors de sintaxi a nivell de directori i autocompletat, així que no hi ha una divisió clara entre ambdós tipus. |
33 | 33 |
|
34 | | -The following options deserve your attention: |
| 34 | +Les següents són opcions a tenir en compte: |
35 | 35 |
|
36 | | -- [Visual Studio Code](https://code.visualstudio.com/) (cross-platform, free) also has many IDE-like features. |
37 | | -- [Atom](https://atom.io/) (cross-platform, free). |
38 | | -- [Sublime Text](http://www.sublimetext.com) (cross-platform, shareware). |
39 | | -- [Notepad++](https://notepad-plus-plus.org/) (Windows, free). |
40 | | -- [Vim](http://www.vim.org/) and [Emacs](https://www.gnu.org/software/emacs/) are also cool if you know how to use them. |
| 36 | +- [Visual Studio Code](https://code.visualstudio.com/) (multiplataforma, gratuït) i té diverses característiques com les dels IDE. |
| 37 | +- [Atom](https://atom.io/) (multiplataforma, gratuït). |
| 38 | +- [Sublime Text](http://www.sublimetext.com) (multiplataforma, shareware). |
| 39 | +- [Notepad++](https://notepad-plus-plus.org/) (Windows, gratuït). |
| 40 | +- [Vim](http://www.vim.org/) i [Emacs](https://www.gnu.org/software/emacs/) també estan bé si sabeu com fer-los servir. |
41 | 41 |
|
42 | | -## My favorites |
| 42 | +## Els meus preferits |
43 | 43 |
|
44 | | -The personal preference of the author is to have both an IDE for projects and a lightweight editor for quick and easy file editing. |
| 44 | +La preferència personal de l'autor és tenir un IDE per projectes i un editor lleuger per edició ràpida i fàcil. |
45 | 45 |
|
46 | | -I'm using: |
| 46 | +Faig servir: |
47 | 47 |
|
48 | | -- As an IDE for JS -- [WebStorm](http://www.jetbrains.com/webstorm/) (I switch to one of the other JetBrains offerings when using other languages) |
49 | | -- As a lightweight editor -- [Sublime Text](http://www.sublimetext.com) or [Atom](https://atom.io/). |
| 48 | +- Com a IDE per JavaScript -- [WebStorm](http://www.jetbrains.com/webstorm/) (Faig servir altres productes de la gamma de JetBrains quan programo en altres llenguatges) |
| 49 | +- Com a editor lleuger -- [Sublime Text](http://www.sublimetext.com) o [Atom](https://atom.io/). |
50 | 50 |
|
51 | | -## Let's not argue |
| 51 | +## No ens barallem |
52 | 52 |
|
53 | | -The editors in the lists above are those that either I or my friends whom I consider good developers have been using for a long time and are happy with. |
| 53 | +Els editors a les llistes anteriors són els que o bé jo o bé els meus amics que considero bons desenvolupadors han estat utilitzant satisfactòriament durant molt temps. |
54 | 54 |
|
55 | | -There are other great editors in our big world. Please choose the one you like the most. |
| 55 | +Hi ha molts altres bons editors al món. Sentiu-vos lliures de triar el que més us agradi. |
56 | 56 |
|
57 | | -The choice of an editor, like any other tool, is individual and depends on your projects, habits, and personal preferences. |
| 57 | +Escollir un editor, com qualsevol eina, és una decisió personal i depèn dels vostres projectes, hàbits i preferències personals. |
0 commit comments