Skip to content

Foreinyel/code-assistant

Repository files navigation

code-assistant

JVS is a tool of Code Automation. It can help you to write clean code, do code refactoring. Overall, it helps you write better code.

中文

Features

Extract

extract statements to current module

extract statements to current module

extract statement to target module

extract statement to target module

extract statement to new module

extract statement to new module

extract elements to component

extract elements to component

extract element with specific attributes

extract elements with specific attributes

extract expression to current module

extract expression to current module

extract expression to current block

extract expression to current block

extract elements to current block

extract elements to current block

extract constant to current module

extract constant to current module

Clean

remove unused code

remove unused code

reorder global statements

reorder global statements

rename identifier in module

renameIdentifierInModule

Generate

generate new function component in folder

generate new function component in folder

generate new function component in module

generate new function component in module

generate new enum in module

export enum Abc {
    Key = "value"
}
export const AbcDesc = {
    [Abc.Key]: "label"
};
export const AbcList = Object.keys(AbcDesc).map(value => ({ value, label: AbcDesc[value] }));

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published