Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>ATX SnippetNew to Visual Studio Code? Get it now.
ATX Snippet

ATX Snippet

Alternex

|
6 installs
| (1) | Free
A collection of useful code snippets
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🚀 ATX Snippet by Sh!v

ATX Snippet is a lightweight and powerful VS Code extension providing useful Code Snippets to speed up your development workflow.


✨ Features

  • Handy shortcuts for printing, input, loops, and more.
  • Clean, beginner-friendly, and customizable.
  • Designed especially for fast Java development.

💡 Available Snippets

Prefix Description
sout System.out.println($1);
serr System.err.println($1);
impscan import java.util.Scanner;
scanin Scanner sc = new Scanner(System.in);
scanfull Full Scanner setup with import & close
nextint sc.nextInt();
main Main method declaration
class Java class structure
method Method declaration
fori Classic for loop
forarr Enhanced for-each loop
while While loop
ifel If-else condition
trycatch Try-catch block
switch Switch-case structure
arr Array declaration
printarr Print array using Arrays.toString()
args Loop through command-line arguments
staticblock Static initialization block

🛠 How to Use

Start typing a prefix (like sout) and select the suggestion or press Tab.

📦 Installation

From VS Code Marketplace

Search for ATX Snippet and click Install.

From .vsix file (local)

code --install-extension atx-snippet-x.x.x.vsix
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft