Skip to content

Commit dfc1d4d

Browse files
authored
Merge pull request #405 from kuntik17/patch-2
Translate Editor-Setup page
2 parents 50043e6 + 017efd6 commit dfc1d4d

File tree

1 file changed

+32
-29
lines changed

1 file changed

+32
-29
lines changed

src/content/learn/editor-setup.md

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,58 +5,61 @@ title: Editor Setup
55
<Intro>
66

77
A properly configured editor can make code clearer to read and faster to write. It can even help you catch bugs as you write them! If this is your first time setting up an editor or you're looking to tune up your current editor, we have a few recommendations.
8+
9+
Doğru şekilde yapılandırılmış bir editör, kodun daha kolay okunmasını ve daha hızlı yazılmasını sağlayabilir. Hatta yazarken hataları tespit etmenize bile yardımcı olabilir! İlk kez bir editör kuruyorsanız veya mevcut editörünüzü iyileştirmek istiyorsanız, birkaç önerimiz var.
810

911
</Intro>
1012

1113
<YouWillLearn>
1214

13-
* What the most popular editors are
14-
* How to format your code automatically
15+
* En popüler editörler hangileri
16+
* Kodunuzu otomatik olarak nasıl biçimlendirirsiniz
1517

1618
</YouWillLearn>
1719

18-
## Your editor {/*your-editor*/}
20+
## Editörünüz {/*your-editor*/}
1921

20-
[VS Code](https://code.visualstudio.com/) is one of the most popular editors in use today. It has a large marketplace of extensions and integrates well with popular services like GitHub. Most of the features listed below can be added to VS Code as extensions as well, making it highly configurable!
22+
Günümüzün en popüler editörlerinden biri olan [VS Code](https://code.visualstudio.com/), geniş bir eklenti pazarına sahip olmasının yanı sıra GitHub gibi popüler servislerle iyi bir entegrasyona sahiptir. Aşağıda listelenen özellikler VS Code'a eklenti olarak yüklenebilir ve bu VS Code'u daha fazla yapılandırılabilir hale getirir!
2123

22-
Other popular text editors used in the React community include:
24+
React topluluğunun kullandığı diğer popüler editörler:
2325

24-
* [WebStorm](https://www.jetbrains.com/webstorm/) is an integrated development environment designed specifically for JavaScript.
25-
* [Sublime Text](https://www.sublimetext.com/) has support for JSX and TypeScript, [syntax highlighting](https://stackoverflow.com/a/70960574/458193) and autocomplete built in.
26-
* [Vim](https://www.vim.org/) is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.
26+
* [WebStorm](https://www.jetbrains.com/webstorm/), Javascript için özel olarak tasarlanmış entegre bir geliştirme ortamıdır.
27+
* [Sublime Text](https://www.sublimetext.com/), Halihazırda JSX ve TypeScript desteği ile birlikte [sözdizimi vurgusu](https://stackoverflow.com/a/70960574/458193) ve otomatik tamamlama özelliğine sahiptir.
28+
* [Vim](https://www.vim.org/), her türlü metni oluşturmayı ve değiştirmeyi daha verimli hale getirmek için oluşturulmuş, son derece yapılandırılabilir bir metin düzenleyicisidir. Çoğu UNIX sisteminde ve Apple OS X'te "vi" olarak bulunur.
2729

28-
## Recommended text editor features {/*recommended-text-editor-features*/}
30+
## Önerilen editör özellikleri {/*recommended-text-editor-features*/}
2931

30-
Some editors come with these features built in, but others might require adding an extension. Check to see what support your editor of choice provides to be sure!
32+
Bazı düzenleyiciler bu özelliklerle birlikte gelir, ancak diğerleri bir eklenti kurmanızı gerektirebilir. Emin olmak için seçtiğiniz editörünüzün hangi desteği sağladığını kontrol edin!
3133

3234
### Linting {/*linting*/}
3335

34-
Code linters find problems in your code as you write, helping you fix them early. [ESLint](https://eslint.org/) is a popular, open source linter for JavaScript.
36+
Kod linter araçları kodunuzu yazarken problemleri bulmanızı ve düzeltmenizi sağlar. [ESLint](https://eslint.org/) popüler bir açık kaynak JavaScript linter aracıdır.
3537

36-
* [Install ESLint with the recommended configuration for React](https://www.npmjs.com/package/eslint-config-react-app) (be sure you have [Node installed!](https://nodejs.org/en/download/current/))
37-
* [Integrate ESLint in VSCode with the official extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
38+
* [React için önerilen ESLint ayarlarını kurmak](https://www.npmjs.com/package/eslint-config-react-app) ([Node'un yüklü](https://nodejs.org/en/download/current/)olduğundan emin olun!)
39+
* [ESLint'i, VSCode'a resmi eklenti ile entegre edin](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
3840

39-
**Make sure that you've enabled all the [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) rules for your project.** They are essential and catch the most severe bugs early. The recommended [`eslint-config-react-app`](https://www.npmjs.com/package/eslint-config-react-app) preset already includes them.
41+
** [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) kurallarını projeniz için etkinleştirdiğinizden emin olun.
42+
** Bu özellikler önemlidir ve en ciddi hataları erken aşamada yakalarlar. Önerilen [`eslint-config-react-app`](https://www.npmjs.com/package/eslint-config-react-app) ön ayar bunları içeriyor.
4043

41-
### Formatting {/*formatting*/}
44+
### Biçimlendirme {/*formatting*/}
4245

43-
The last thing you want to do when sharing your code with another contributor is get into an discussion about [tabs vs spaces](https://www.google.com/search?q=tabs+vs+spaces)! Fortunately, [Prettier](https://prettier.io/) will clean up your code by reformatting it to conform to preset, configurable rules. Run Prettier, and all your tabs will be converted to spaces—and your indentation, quotes, etc will also all be changed to conform to the configuration. In the ideal setup, Prettier will run when you save your file, quickly making these edits for you.
46+
Kodunuza katkıda bulunan başka bir kişiyle yapmak isteyeceğiniz son şey [tab ve boşluklar](https://www.google.com/search?q=tabs+vs+spaces) hakkında bir tartışmaya girmektir! Neyse ki, [Prettier](https://prettier.io/) kodunuzu önceden ayarladığınız kurallara uyacak şekilde biçimlendirerek düzenler ve temizler. Prettier'ı çalıştırın ve tüm tab'lar boşluklara dönüştürülecek ve girintileriniz, alıntılarınız vb. de yapılandırmaya uyacak şekilde değiştirilecektir. İdeal kurulumda Prettier, dosyanızı kaydettiğinizde çalışacak ve bu düzenlemeleri sizin için hızlıca yapacaktır.
4447

45-
You can install the [Prettier extension in VSCode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) by following these steps:
48+
[Prettier VSCode eklentisini](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) aşağıdaki adımları takip ederek yükleyebilirsiniz:
4649

47-
1. Launch VS Code
48-
2. Use Quick Open (press Ctrl/Cmd+P)
49-
3. Paste in `ext install esbenp.prettier-vscode`
50-
4. Press Enter
50+
1. VS Code'u açın
51+
2. Hızlı Aç'ı kullanın (Ctrl/Cmd+P'ye basın)
52+
3. Yapıştırın `ext install esbenp.prettier-vscode`
53+
4. Enter'a basın
5154

52-
#### Formatting on save {/*formatting-on-save*/}
55+
#### Kayıt sırasında biçimlendirme {/*formatting-on-save*/}
5356

54-
Ideally, you should format your code on every save. VS Code has settings for this!
57+
İdeal olarak, kodunuzu her kaydetme işleminde biçimlendirmelisiniz. VS Code bunu sizin için yapacak ayarlara sahiptir!
5558

56-
1. In VS Code, press `CTRL/CMD + SHIFT + P`.
57-
2. Type "settings"
58-
3. Hit Enter
59-
4. In the search bar, type "format on save"
60-
5. Be sure the "format on save" option is ticked!
59+
1. VS Code'da `CTRL/CMD + SHIFT + P` 'ye basın.
60+
2. "settings" yazın
61+
3. Enter'a basın
62+
4. Arama çubuğunda, "format on save" yazın
63+
5. "format on save" kutucuğunun seçili olduğundan emin olun!
6164

62-
> If your ESLint preset has formatting rules, they may conflict with Prettier. We recommend disabling all formatting rules in your ESLint preset using [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) so that ESLint is *only* used for catching logical mistakes. If you want to enforce that files are formatted before a pull request is merged, use [`prettier --check`](https://prettier.io/docs/en/cli.html#--check) for your continuous integration.
65+
> ESLint ön ayarınızın biçimlendirme kuralları varsa bunlar Prettier ile çakışabilir. ESLint'in *yalnızca* mantıksal hataları yakalamak için kullanılabilmesi için [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) kullanarak ESLint ön ayarınızdaki tüm biçimlendirme kurallarını devre dışı bırakmanızı öneririz. Bir çekme isteği (pull request) birleştirilmeden önce dosyaların biçimlendirilmesini zorunlu kılmak istiyorsanız, sürekli entegrasyonunuz için [`prettier --check`](https://prettier.io/docs/en/cli.html#--check) kullanın.

0 commit comments

Comments
 (0)