Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mehmetkurt/9d0c4a0e58606d9372cba71129fae37a to your computer and use it in GitHub Desktop.
Save mehmetkurt/9d0c4a0e58606d9372cba71129fae37a to your computer and use it in GitHub Desktop.
codeislife eğitim - Angular 6 Dersleri 3 - İleri Seviye Visual Studio Code Kullanımı
Visual Studio Code, editörü kendisini kontrol etmenizi sağlayan güçlü bir komut satırı arayüzüne sahiptir.
Komut satırı seçenekleri aracılığıyla dosyaları açabilir, uzantıları yükleyebilir,
ekran dilini değiştirebilirsiniz.
Vs code electronjs ile yapılmıştır.
https://electronjs.org/
Yeni Dosya oluşturmak :
echo > index.html
Powershell
New-Item c:\scripts\new_file.txt -type file
VS CODE VERION
code –version
EXTENSIONS
code –list-extensions
VS CODE KOMUT SATIRINDAN ÇALIŞTIRMAK
Boş bir pencere açar!
code
bulunduğu klasörde açar
code .
Eğer yoksa Powershell ile user variables vs code path eklemek
$dir = 'C:\Program Files\Microsoft VS Code\bin'
$path = [Environment]::GetEnvironmentVariable('PATH', 'User') -split ';' |
Where-Object { $_ -ne $dir }
$path += $dir
[Environment]::SetEnvironmentVariable('PATH', ($path -join ';'), 'User')
Code parametreleri
-h - -help
-v - -version
-n - -new-window
-g - -goto path:line:char
-d - -diff left.html right.html
--locale en-Us | zh-TW
https://code.visualstudio.com/docs/getstarted/locales
https://marketplace.visualstudio.com/items?itemName=MS-CEINTL.vscode-language-pack-tr
birden fazla dosyayı ve klasörü açmak
code .\test.html .\src\app\app.component.css .\src\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment