This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| const vscode = require('vscode'); | |
| /** | |
| * Macro configuration | |
| */ | |
| module.exports.macroCommands = { | |
| LaunchBash: { | |
| no: 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| const vscode = require('vscode'); | |
| /** | |
| * Macro configuration | |
| */ | |
| module.exports.macroCommands = { | |
| RemoveDuplicateLines: { | |
| no: 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| const crptrndstr = require('crypto-random-string'); | |
| module.exports.macroCommands = { | |
| InsertRandomID: { | |
| no: 1, | |
| func: insertRandomId, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| module.exports.macroCommands = { | |
| InsertRandomId: { | |
| no: 1, | |
| func: insertRandomId, | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| const fs = require('fs'); | |
| module.exports.macroCommands = { | |
| DiffFiles: { | |
| no: 1, | |
| func: diffFiles, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| const process = require('process'); | |
| const cp = require('child_process'); | |
| module.exports.macroCommands = { | |
| SearchOnGoogle: { | |
| no: 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| // << This macro is only working on windows 10 >> | |
| const vscode = require('vscode'); | |
| const cp = require('child_process'); | |
| /** | |
| * Macro configuration | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // License:MIT | |
| study("EMA S/M/L", overlay = true) | |
| res = input(title = "Resolution", type = input.resolution, defval = "D") | |
| si = input(title = "S", type = input.integer, defval = 5) | |
| mi = input(title = "M", type = input.integer, defval = 20) | |
| li = input(title = "L", type = input.integer, defval = 200) | |
| es_ema = security(syminfo.tickerid, "D", ema(close, si)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| /** | |
| * Macro configuration | |
| */ | |
| module.exports.macroCommands = { | |
| InsertLineNumbers: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| // Create an output window for this macro | |
| if (global.phee7Bie === undefined) { | |
| // Store the output channel in the global variable for nodeJS | |
| // ※The variable name 'phee7Bie' just means a unique global variable of this macro in the node JS | |
| global.phee7Bie = { |
OlderNewer