ホーム 暮らし [Kiro Basics] I asked Kiro to 'install recommended extensions'

[Kiro Basics] I asked Kiro to 'install recommended extensions'

東條 淳平 東條 淳平 • 更新: • 公開: • 読了約 17 分
目次

The next thing I did after localizing the language was installing extensions. When I asked Kiro to 'install recommended extensions for beginners,' it asked about my intended use and then proposed the optimal set. This is the story of how I eliminated the hassle of researching and installing them one by one myself.

What are extensions?

n94f4e2e3f55f

Extensions are plugins that add functionality to an IDE. It's just like installing apps on your smartphone. You can enhance code highlighting, make file icons easier to see, or add support for specific languages.

Since Kiro is based on VS Code, it can use Open VSX-compatible extensions.

I asked it to 'install recommended extensions'

I typed 'Tell me recommended extensions for beginners. I want to do web development' into the Kiro chat.

Kiro asked, 'What languages or frameworks do you plan to use?' When I replied, 'I haven't decided yet, but tell me some general-purpose extensions,' it proposed the following.

  • Prettier: Automatically formats your code. Standardizes indentation and line breaks.

  • ESLint: Detects issues in your JavaScript code.

  • Auto Rename Tag: When you change one side of an HTML tag, the other side changes automatically.

  • Material Icon Theme: Makes file icons easier to see.

  • Path Intellisense: Displays suggestions when you are typing file paths.

When I said 'Install them all,' Kiro installed them one by one for me.

Recommended extensions I actually use

From here on, I will introduce the extensions I actually have installed in Kiro. I have over 20 installed in total, but I will pick out the ones especially recommended for beginners.

Visual improvement category
  • Material Icon Theme: File and folder icons are color-coded by type, making them easier to see. JavaScript is yellow, TypeScript is blue, and folders have icons based on their contents. Without this, it's hard to distinguish between files.

  • Indent Rainbow: Indentation is color-coded in rainbow colors. Even if the code nesting becomes deep, you can see at a glance which block is at which depth. It's subtle but super convenient.

  • Better Comments: Colors change depending on the type of comment. // TODO: is orange, // ! is red (warning), and // ? is blue (question). It makes comments easier to read.

  • TODO Highlight: Highlights TODO and FIXME within your code. It ensures you don't forget things you need to do later.

For improving coding efficiency
  • Prettier: Automatically formats code every time you save. Standardizes indentation, line breaks, and spacing. Using it in a team ensures consistent code style.

  • ESLint: Detects issues in JavaScript or TypeScript code (such as unused variables or type mismatches) in real-time. It alerts you with red wavy lines.

  • Auto Close Tag: Automatically adds a closing tag when you open an HTML tag. Typing <div> automatically inserts </div>.

  • Auto Rename Tag: When you change one side of an HTML tag, the other side changes automatically. Changing <div> to <section> also changes </div> to </section>.

  • Path Intellisense: Displays suggestions when entering file paths. Useful when writing import statements.

  • Tailwind CSS IntelliSense: Displays suggestions when entering Tailwind CSS class names. Also provides color previews. Essential if you use Tailwind CSS.

For easier error detection
  • Error Lens: Displays error and warning messages inline next to the corresponding line. Error messages that usually require a mouse hover to see are now always visible. You should definitely install this.

  • Code Spell Checker: Detects spelling errors in your code. Helps prevent typos in variable names and comments.

Git-related
  • GitLens: An extension that enhances Git history. Displays 'who, when, and why' a change was made next to each line. Useful for tracking code change history.

Others
  • Live Server: Allows real-time preview of HTML files in your browser. The browser updates automatically every time you save a file. Perfect for learning HTML/CSS.

  • Rainbow CSV: Color-codes CSV file columns to make them easier to read. Useful when handling data files.

  • Draw.io Integration: draw.io (a diagramming tool) can be used within Kiro. You can manage architecture diagrams and flowcharts alongside your code.

  • Japanese Language Pack: Localizes menus and the UI into Japanese (already introduced in the previous article).

  • AWS Toolkit: Allows you to operate AWS services directly from Kiro. Useful for deploying Lambda functions, managing S3 files, etc. If you use AWS, it's convenient to have.

No need to install everything

I have introduced over 20, but there is no need to install all of them. At first, just the following 5 are sufficient.

  • Material Icon Theme (Appearance)

  • Prettier (Code Formatting)

  • Error Lens (Error Display)

  • Auto Close Tag (HTML Assistance)

  • Japanese Language Pack (Localization)

You can add the rest whenever you need them. If you ask Kiro to 'install extensions for [task],' it will suggest the best ones for that moment.

Honestly, I couldn't choose them myself

There is a vast number of extensions in the marketplace. When you search for 'VS Code recommended extensions,' every article recommends something different, and I don't know which one to trust.

When you ask Kiro, it understands the context that 'you want to do web development' and suggests the minimum necessary set. You won't end up with too many, which would slow things down.

You can also ask Kiro to add them later

As you progress with development, if you decide you 'want to use TypeScript' or 'want to use Tailwind CSS,' you can just ask Kiro to 'install extensions for TypeScript,' and it will add them for you.

Install only what you need, when you need it. This 'just-in-time' extension management is the biggest benefit of relying on Kiro.

Summary

The easiest way to install extensions is to ask Kiro to 'install recommendations.' If you tell it your purpose, it will suggest the optimal set and install them automatically. Adding more later is also easy. You can reduce the time spent researching and choosing to zero.

Are there any other recommended extensions? If there's something you think 'you should definitely install,' please let me know in the comments.

#AI #Kiro #IDE #Extensions #ProgrammingBeginner #DevelopmentEnvironment #VSCode #TriedWithAI #RecentLearning #Programming

同じカテゴリの記事

東條 淳平

スポーツと芸能が交差する話題を担当。大会公式記録と所属先の発表を突き合わせ、数字は必ず出典付きで扱います。

おすすめの関連記事