万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    VSCode Extension

    フルパス取る

    javascript - VS Code extension - get full path - Stack Overflow

    ショートカットキー https://code.visualstudio.com/docs/getstarted/keybindings#_customizing-shortcuts

    https://github.com/Microsoft/vscode/issues/11247

            // Display a message box to the user
            let ed = vscode.window.activeTextEditor;
            if(ed) {
                var currentlyOpenTabfilePath = ed.document.fileName;
                // var currentlyOpenTabfilePath = ed.document.fileName;
                // var currentlyOpenTabfileName = path.basename(currentlyOpenTabfilePath);
                // vscode.window.showInformationMessage(currentlyOpenTabfilePath);
                // vscode.window.showInformationMessage(currentlyOpenTabfileName);
    
                // if (vscode.window.activeTextEditor) {
                //     vscode.window.showTextDocument(vscode.window.activeTextEditor.document, vscode.ViewColumn.Two, true);
                // }
    
                // open
                vscode.workspace.openTextDocument(currentlyOpenTabfilePath + 'b').then(function(TextDocument){
                    vscode.window.showTextDocument(TextDocument, vscode.ViewColumn.One, true);
                });
            }

    リリース Publishing Visual Studio Code Extensions

    "hoge.html".replace(/^(\.html)/g, ".tsc");

    Iconとか設定 vscode-doc-jp.github.io

    ここログイン。 Visual Studio Team Services | Sign In