Skip to main content

My Commands

Use My Commands to create and manage your own custom commands for automating repetitive tasks or enforcing consistent coding patterns.

Overview

My Commands lets you personalize your development process by defining reusable instructions. You can use these commands across your projects to save time and ensure uniform code.

info

This feature supports all programming languages and frameworks. You can create commands that target any technology stack.

Why Use My Commands

  • Automate tasks you perform repeatedly.
  • Maintain consistency in your codebase.
  • Streamline your workflow by embedding specific coding patterns directly into projects.

Prerequisites

  • Coding Assistant extension installed in your IDE.
  • Basic understanding of the tasks you want to automate.

Steps

1

Press Shift + Cmd + M or open Coding Assistant > ⚙️ > My Commands.

CMD config 1

2

Select Save a new Command. CMD config 2

3
Implement the Command
  1. Enter Command Title in the designated field.
  2. Provide Instructions detailing how the command should behave.
  3. Select Submit to save the command.

CMD config 3

Managing Commands

  • Edit Commands: Update instructions as needed.
    CMD config vid
  • Delete Commands: Remove commands that are no longer needed.
    CMD config 4

FAQs

Is there a limit to how many commands I can create?

There is no official limit to the number of commands you can create. For organizational purposes, it’s a good idea to name and categorize your commands so they remain easy to maintain and navigate.

How do I troubleshoot issues if my commands are not working as expected?
  1. Check for Extension Updates: Ensure you have the latest version of Coding Assistant extension. Outdated versions can cause conflicts.

  2. Restart Your IDE: Sometimes, simply closing and reopening your IDE resolves minor glitches.

  3. Reinstall the Extension: If the issue persists, try uninstalling and reinstalling the extension to fix compatibility or version-related issues.

  4. Review Command Instructions: Verify that the instructions in your command are correctly formatted and contain valid syntax for your intended use case.

  5. Disable Other Extensions: Conflicts might occur if multiple extensions handle similar tasks. Temporarily disable other extensions to see if the issue persists.


By leveraging My Commands, you can significantly enhance your productivity and ensure consistency throughout your codebase.