MML(AddmusicK) ToolkitThis extension provides features to help you edit MML for AddmusicK. Language FeaturesInitializationIf you want to use this extension for the first time, you need to set the AddmusicK path in the config. At the first startup, the following warning message will appear. You can set the path of AddmusicK by clicking the "Go to Config" button. This setting is used for referencing the sample file (.brr). Syntax HighlightImprove the readability of your MML by highlighting. Semantic Highlight (Only Dark+ theme)Highlight Replacements that cannot be supported by Syntax Highlight, highlight the beginning of the Hex command, and color-coding by octave. Compare the following two images :
DiagnosticsDiagnostics is displayed for descriptions in which AddmusicK produces an error (e.g., if the value is empty or the limit is exceeded). Auto CompletionTo assist with input, display completions such as Hex command and Special command. HoverDisplays information about the command on mouse hover. (From AddmusicK Readme) Some commands display the current instrument, octave, and contents of loops, etc. CommandsFormatting MML generated by PetiteMM
Drum assignmentsAutomatically assigns an instrument (any string) to a specific pitch of the channel at the cursor location. This would be useful for editing drum channels. Note: It is recommended not to edit the channel before using the command. (e.g. calling replacements) |