Search notes:

Vim for VSCode

Cloning from github and running Vim for VS Code

As per CONTRIBUTING.md on the github repository.

First: clone sources from github

PS> cd ~/.vscode/extensions
PS> git clone https://github.com/VSCodeVim/Vim
PS> cd Vim

yarn install

PS> yarn install
The last command (yarn install) seems to fetch some packages(?) into the sub directory node_module.

npx gulp build

PS> npx gulp build
[21:18:58] Using gulpfile ~\.vscode\extensions\Vim\gulpfile.js
[21:18:58] Starting 'build'...
[21:18:58] Starting 'prettier'...
[21:18:58] Finished 'prettier' after 670 ms
[21:18:58] Starting 'webpack'...
[21:18:58] Starting 'tslint'...
[21:20:03] Finished 'tslint' after 1.08 min
[21:20:15] asset extension.js 912 KiB [emitted] [minimized] (name: main) 2 related assets
webpack 5.42.0 compiled successfully

asset extensionWeb.js 578 KiB [emitted] [minimized] (name: main) 2 related assets
webpack 5.42.0 compiled successfully
[21:20:15] Finished 'webpack' after 1.27 min
[21:20:15] Starting 'commit-hash'...
[21:20:15] Finished 'commit-hash' after 84 ms
[21:20:15] Finished 'build' after 1.28 min
This command (npx gulp build) adds a __metadata key to package.json and creates some files in the out directory:
  • extension.js
  • extension.js.LICENSE.txt
  • extension.js.map
  • extensionWeb.js
  • extensionWeb.js.LICENSE.txt
  • extensionWeb.js.map
  • version.txt

Finally: run Visual Studio Code

PS> code

Misc

CONTRIBUTING.md also lists commands to build a .vsix extension package etc.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759567100, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/vim/VSCode/index(86): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78