Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ export default class CommandAliasPlugin extends Plugin {
settings: CommandAliasPluginSettings;

async onload() {
console.log('loading plugin');

// const app = this.app as AppExtension;

await this.loadSettings();
Expand Down Expand Up @@ -128,7 +126,6 @@ export default class CommandAliasPlugin extends Plugin {
}

onunload() {
console.log('unloading plugin');
}

async loadSettings() {
Expand All @@ -141,7 +138,7 @@ export default class CommandAliasPlugin extends Plugin {

addAliasSetting(aliasName: string, commandId: string) {
const aliasId = Date.now().toString();
console.log('Add id:', aliasId, 'alias:', aliasName, "command:", commandId);
// console.log('Add id:', aliasId, 'alias:', aliasName, "command:", commandId);
this.settings.aliases[aliasId] = {
name: aliasName,
commandId: commandId,
Expand Down
1 change: 0 additions & 1 deletion src/setting-tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export class CommandAliasPluginSettingTab extends PluginSettingTab {
.addDropdown(dropdown => dropdown
.addOptions(options)
.onChange(value => {
console.log("select command");
selectedCommandId = value;
}));
let aliasName = "";
Expand Down