Recommended extension for AX

0
Hallo there,   what kind of extensions you can recommend for SIMATIC AX. Is it possible to use something like Co-Pilot and Auto Correct ?   Thanks!   Regards, Rado
asked
6 answers
2

My favorite extensions are:

- Error Lens: This extension displays the messages from the “Problems” tab in the respective file as inline messages.

- Draw.io Integration: This is great for quickly visualizing something, such as class diagrams or attachment concepts, without having to leave the IDE.

- ToDo Tree: This is always helpful for marking open issues in programming and then finding them again. You can mark a comment in the code with “//TODO” or “//FIXME” and ToDo Tree will display them clearly in a tree in the primary sidebar.

 

If you just want to make the IDE look pretty, I can also recommend the following extensions:

- Material Icon Theme: This is where certain folders (e.g. “src”, “bin”) and files (e.g. “.gitignore”) are marked with their own icons and you can better orient yourself in the repo.

Nord Theme: For the cold season

 

Regards,

Kevin

answered
2

Regarding the GitHub Co-pilot part:

  1. As of today you'd need a separate VS Code instance running the extension downloaded from https://marketplace.visualstudio.com/items?itemName=GitHub.copilot. We're already looking into an integration of the GitHub co-pilot into our IDE.
  2. Once we've updated our SIMATIC AX Code IDE to the next minor version (1.95.x, which we expect to happen in early 2025) you can easily download the extensions from the MS marketplace and install them inside SIMATIC AX Code, w/o the need of a separate VS Code instance
answered
2

Thx for this awesome question ...

I reckon you refer to extensions other than the ones SIMATIC AX brings along.

 

Here is my incomplete list of fav-vscode-extensions(may include overlab mentions)

 

themes:

- Material Icon Theme: A must have icon pack for your repository files and folders.

Nord Theme: If you look cloesly into the SIMATIC AX documentation you will recognize that internally the Nord Theme is "the true" SIMATIC AX theme at the time of writing this.

- We may or may not release a SIEMENS color-compliant theme for you to share at some point in the future

 

services:

Thunder Client:  A lightweight Rest API Client.

- BrowseLite: Very simple browser for accessing the PLC webserver or your Industrial Edge Management/Devices/Apps

 

file-editing/viewer:

- Markdown All In One: Extended features for a more efficient .md file creation.

Draw.io Integration: Include meaningful diagrams and visual concepts into your doc files.

- vscode-pdf: Some repositories may include non-human-readable files just like .pdf, therefore you need special viewer. 

 

git extensions:

- GitLens:  Supercharge your Git workflow. This extension offers several UI elements interacting with your Git-repository and tracing it's changes.

Gitmoji:  Unify your git commits by introducing an icon pack for the most common git commit topics (chore, fix, test, doc, feat, ... )

GitHub Pull Requests: If you like to contribute to our GitHub Community or to your private GitHub organization, ... creating a merge-/pull-request directly via VSCode may be something you are looking for. 

GitHub Actions:  Keep track of the GitHub Actions  and it's reports (Pipelines that may be running due to certain git activities remote on GitHub).  

GitLab Workflow: The same applies to other Git providers, just like GitLab. If your company repositories are on a private GitLab instances you can track  theire merge-requests, issues, running pipelines, etc. with that extension.

 

coding helper:

Error Lens: Inline the problems/ errors behind the issued line of code.

Hide Comments: Reduce visual-noice by hiding code-comments if needed.

- Todo Tree: Set compile-neutral markers inside the code, where you want to continue working at a later time.

- Sticky Scroll: Not an VsCode extension, but also a very need integrated setting which works for .st files as well. With Sticky Scroll, you can stick scopes to the top of the editor so that they're always in view while you scroll through your code.

 

misc:

vscode-pets: If you are looking for a twin-cat integration into Ax/VsCode.  ;-) 

 

*THIS IS A LIVING POST - WILL UPDATE AT A LATER TIME*

 

Keep going & happy coding ...

🐱‍💻 BEEP, BOOP, BEEP, BEEP, BOOP 🐱‍🏍

answered
2

Hint:

 

In Visual Studio Code, you can install recommended extensions automatically.

 

just create an ".vscode" folder in your workspace. Add there a file "extensions.json" and paste for example the follwing content into this file:

 

{
    "recommendations": [
        "hediet.vscode-drawio",
        "pkief.material-icon-theme"
    ]
}

this installs the drawio- and material-icon-theme automaticly when you start AxCode again.

 

Where can I find the extenstion identifier? See screenshot:

 

image.png

 

 

 

answered
1

Hi,

 

I have to add to more extensions besides Kevins:

 

1) Gitlens: GitLens is a powerful open-source extension that enhances Git workflows with features like in-editor blame annotations, hovers, and CodeLens, all fully customizable to improve how you understand, write, and review code. 🦾

2) VSCodePets: I should not need to tell you that animals always help ;) Just a nice extension to play around. 🥳

 

Regards,

Matthias

 

SIMATICAX_Extensions_VSPets_Gitlens.png

answered
1

Some additional extension that I find useful:

 

Peacock:

Allows you to change the workspace color of AX Code. Very helpful when you have multiple instances open and quickly want to identify, where you are (e.g. app workspace vs. library workspace).

 

Overtype:

As of now, the VS Code version underlying AX Code does not support an overtype mode. This extension provides it. With VS Code V1.96.0, overtype will be a built-in feature.

answered