Skip to content

Latest commit

 

History

History
98 lines (56 loc) · 6.83 KB

File metadata and controls

98 lines (56 loc) · 6.83 KB

<<<<<<< HEAD

コードエディタ

コードエディタはプログラマが最も時間を費やす場所です。

大きく2つのタイプがあります: IDE(統合開発環境)と軽量なエディタです。多くの人々はそれぞれのタイプのツールを1つ選んで使うことが多いです。

IDE

IDE (統合開発環境)は通常 "プロジェクト全体" での操作をする多くの機能を持ったパワフルなエディタを意味します。つまり、名前が示すように単なるエディタではなく、本格的な "開発環境" です。

IDEはプロジェクト(多くのファイル)をロードし、ファイル間のナビゲーションを可能とし、プロジェクト全体に基づいた自動補完を提供、バージョン管理システム(git のような)、テスト環境や他の "プロジェクトレベル" のものと統合します。

もしもまだIDEの選択を検討していないなら、次のようなIDEを見てみてください。

Windows には、"Visual Studio"もあります。"Visual Studio Code" と混同しないでください。"Visual Studio" は、.NET プラットフォームに最適な、有料で強力なWindows専用エディタです。JavaScriptも得意です。無料版Visual Studio Communityもあります。

多くのIDEは有料ですが、トライアル期間を持っています。それらのコストはたいてい資格をもつ開発者の給料と比べわずかなので、あなたにとってベストなものを選んでください。

軽量なエディタ

"軽量なエディタ" はIDEほど強力ではありませんが、速くエレガントでシンプルです。

主にファイルをすぐに開いて編集するのに使われます。

"軽量なエディタ"と"IDE"の主な違いは、IDEはプロジェクトレベルで動作するので、開始時により多くのデータをロードし、必要に応じてプロジェクト構造の分析等をします。軽量なエディタは、単一ファイルだけが必要な場合にははるかに速いでしょう。

なお、実際には軽量なエディタもディレクトリレベルの構文解析や自動補完を含む多くのプラグインを持っている場合があります。そのため、軽量なエディタとIDEの間に厳密な境界はありません。

注目に値するものとしては次のような選択肢があります:

  • Atom (クロスプラットフォーム、フリー).
  • Visual Studio Code (クロスプラットフォーム、フリー).
  • Sublime Text (クロスプラットフォーム、シェアウェア).
  • Notepad++ (Windows, フリー).
  • VimEmacsも使い方を知っているなら良い選択肢です。

議論はしません

上記のリストのエディタは、私または私がよい開発者だと思っている友人が喜んで長い間利用しているものです。

この広い世界には他にも素晴らしいエディタがあります。ぜひあなたが最も好きなものを選んでください。

エディタの選択は、他のツールのようにプロジェクト、習慣や個人の趣向によります。

Code editors

A code editor is the place where programmers spend most of their time.

There are two main types of code editors: IDEs and lightweight editors. Many people use one tool of each type.

IDE

The term IDE (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."

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), a testing environment, and other "project-level" stuff.

If you haven't selected an IDE yet, consider the following options:

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. It's also good at JavaScript. There's also a free version Visual Studio Community.

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.

Lightweight editors

"Lightweight editors" are not as powerful as IDEs, but they're fast, elegant and simple.

They are mainly used to open and edit a file instantly.

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.

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.

There are many options, for instance:

Let's not argue

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.

There are other great editors in our big world. Please choose the one you like the most.

The choice of an editor, like any other tool, is individual and depends on your projects, habits, and personal preferences.

The author's personal opinion:

  • I'd use Visual Studio Code if I develop mostly frontend.
  • Otherwise, if it's mostly another language/platform and partially frontend, then consider other editors, such as XCode (Mac), Visual Studio (Windows) or Jetbrains family (Webstorm, PHPStorm, RubyMine etc, depending on the language).

52c1e61915bc8970a950a3f59bd845827e49b4bf