Skip to content

Align v1 Event names #1397

Description

@markwpearce

As discussed here: #1386 (review)

We should align plugin event names to match the following format:

(before/''/after)<verb>(Program/File/Scope, etc.)

This means the following changes:

*ProgramCreate -> *CreateProgram
*ScopeCreate -> *CreateScope
*ScopeValidate -> *ValidateScope
*FileAdd -> *AddFile
*FileRemove -> *RemoveFile
etc.

Additionally, any plugin event that has a name that starts like onGet (eg. onGetSemanticTokens) should be changed to provide...

@luis-j-soares

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions