[๊ฐ๋ฐํ๊ฒฝ ๊ตฌ์ถ] Vscode ์ค์
Vscode IDE ์ค์
IDE(Integrated development environment)๋?
์์ด ๋ฌธ์์์ ์ ๋ ๊ฒ ๋์ค๋๋ฐ ๊ทธ๋ฅ ๊ฒฐ๋ก ์ ์ผ๋ก ๊ฐ๋ฐํ๊ฒฝ ๋์ฐ๋ฏธ์ ๋๋ค
"์ฌ๋ฌ IDE๊ฐ ์๋๋ฐ ์ Vscode๋ก ํ๋?" ๋ผ๊ณ ๋ฌผ์ด๋ณผ ์ ์๋๋ฐ ๊ฐ๋ฒผ์์ ์ฐ๋๊ฑฐ์์
Virtual code Studio๋ PyCharm, Intellij ๋ฑ์ ์ทจํฅ ์ฐจ์ด์
๋๋ค.
(์งธ๋ค์ ํ๋์ ํ๋ ์์ํฌ์ ํนํ๋ IDE์
๋๋ค)
์ปค์คํ
๋ ํธํ๊ณ ํฌ๋งทํ ๊ธฐ๋
์ผ๋ก ์ด๋ฐ๊ฑฐ ์ ๋๊ฑฐ์์(๋ค์ ์๊ฐํด๋ ํ..)
์๋ก ๋งํฌ๋ฅผ ํตํด์ ์ค์นํด๋ด
์๋ค(Mac๋ ๋น์ทํด์)
Visual Studio Code - Code Editing. Redefined
Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.
code.visualstudio.com
์ค์น ์ ์ฃผ์์ฌํญ์ผ๋ก๋
PATH ํ์๋ผ๋ ์ ๊ทธ๋ฅ ํ์ธ์(์ ๊ทธ๋ผ ๊ท์ฐฎ์์)
๋๋จธ์ง ์ทจํฅ ์ฐจ์ด์
๋๋ค.
์คํ ๊ฟํ
์ค์น๋ง ํด์ ์๋ฏธ๊ฐ ์๊ฒ ์ฃ
C/C++/Python/Java์ ๊ฐ์ ํ๋ ์์ํฌ์ ํ๊ฒฝ๊ตฌ์ถ์ ํด์ผํฉ๋๋ค.
ใ C ํ๊ฒฝ์ค์ ใ VS code์์ C/C++ ์ฝ๋ฉํ๊ฒฝ ๊ตฌ์ถํ๊ธฐ
ใ C ํ๊ฒฝ์ค์ ใ VS code์์ C/C++ ์ฝ๋ฉ ํ๊ฒฝ ๊ตฌ์ถํ๊ธฐ ์์ฆ ํ์ด์ฌ(python)์ด๋ ์๋ฐ(JAVA), javascript C# ๋ฑ๋ฑ ํ์ด๋ ๋ฒจ ์ธ์ด๋ฅผ ํ์ตํ๋ ์ฌ๋๋ค์ด ํ๋ก๊ทธ๋๋ฐ์ ๊ทผ๊ฐ์ ํผํผํ ํ๋ค๊ฑฐ๋? ์ฌ๋ฌ ๊ฐ์ง ์ด
rasino.tistory.com
[Tool] vcpkg ์ค์น ๋ฐ ์ฌ์ฉ๋ฒ
vcpkg๋ vcpkg๋ Windows linux์ MacOs ์์ C์ C++ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๊ด๋ฆฌ๋ฅผ ๋์์ค๋๋ค. ์์ธํ ์ค๋ช ์ ์๋์ ๋งํฌ๋ฅผ ํตํด์ ์ ์ ์์ต๋๋ค. https://docs.microsoft.com/ko-kr/cpp/build/vcpkg?view=vs-2019 vcpkg: Windows, Linux
jungwoong.tistory.com
vcpkg - Open source C/C++ dependency manager from Microsoft
Easy To Use Download and build popular libraries in a single step. Never worry about upstream dependencies or version conflicts. Declare dependencies with commandline actions or in a manifest that can live with your repo. Get support from the development t
vcpkg.io
์ด๊ฑฐ ๋ณด์๋ฉด ๋๊ธฐ์ ๋ฐ๋ก ๊ธฐ์ฌํ์ง๋ ์์๊ป์ ํ ๊ฒ๋ ๋ง์ผ๋๊น์
Python๋ ์ค์นํฉ์๋ค.(๋ฌผ๋ก Vmware๋ก ์ฃผ๋ก ์ฌ์ฉํ๋ค์ง๋ง ์ธ๊ฑฐ๊ธด ํ๋๊น ๋ฏธ๋ฆฌ ๊ตฌ์ถ!)
์ฐธ๊ณ ๋ก ์์ ๋ฐฉ๋ฒ์ผ๋ก ํด๋ include ํ์ผ์ ์ค๋ฅ๊ฐ ๋จ๋ฉด vcpkg๋ ์ค์นํด์ผํ๋ค๋ ์
์ ๋ ๊ทธ๋ ๊ฒ ํ์ด์(์ฐธ๊ณ ๋ก Terminal์์ ํ์์๋ณด๋จ ๋ฐ๋ก Cmd๋ก ํด์ผ๋๋ค๋ ์ .. ์์ง?)
Vscode ์คํํ ๋ ํธ๋ฆฌํ๊ฒ ํ๋ ํ์ฅํ๋ก๊ทธ๋จ์
๋๋ค.
์ฌ์ฉํ์ค ๋ ์ข์
Code Runner - Visual Studio Marketplace
Extension for Visual Studio Code - Run C, C++, Java, JS, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, CMD, BASH, F#, C#, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml, R, AppleScript, Elixir, VB.NET, Clojure, Haxe, Obj-C,
marketplace.visualstudio.com
์ฐธ๊ณ ๋ก ์ ๊ฑฐ๊น์ง ํด์ค์ผ ์
๋ ฅ๋ ํธํด์
๋ฌผ๋ก ์
๋ ฅ์ ํ๊ณ๊ฐ ์กด์ฌํ๊ธด ํ๋ฐ..
๋ค์์ผ๋ก๋ ํ์ด์ฌ๋ ๊ตฌ์ถํด๋ด์ผ๊ฒ ์ฃ
Python Releases for Windows
The official home of the Python Programming Language
www.python.org
์ ๊ฑฐ PATH ํด์ฃผ๋ฉด ํธ๋ฆฌํ๋๊น ๊ผญ ํ์๊ณ ์
Microsoft Store์์ Python์ ์ค์นํด์ผํ๋๋ผ๊ณ ์
Windows๋ผ์ ๊ทธ๋ฐ๊ฑฐ ๊ฐ์์
์ ๋ ์ ๊ฑฐ ๋ง์ ์คํ ์ด์์ ์๋ Python ์ค์น ํ์ต๋๋ค
์ ๊ฑด ์๋์๋ฉด ํ์
์ฌ
๋๋จธ์ง๋ ์ฐจ์ฐจ ํ์ํ๋ฉด ๋ง์ํด์ฃผ์ธ์ ์ฐพ์์ ์ฌ๋ ค๋ณผ๊ป์
Extention
Vscode Thema ๊พธ๋ฏธ๋๊ฒ ๋ ์ฌ๋ฏธ์์ฃ
10 Best Icon Packs to Improve Your File’s Appearance in VS Code
Top icon packs you should download to your VS Code.
javascript.plainenglish.io
์ ๋งํฌ๋ฅผ ํตํด ๋ฐ๊ธด ํ๋๋ฐ ์ถ์ฒ์ผ๋ก๋..
์ด๋ ๊ฒ ๋ค์ด๋ก๋ํ์๋ฉด ์ข์์
์ค๋ฅธ์ชฝ์ ๊ทธ๋ฅ ํ๋ฒ ๋ฃ์ด๋ณด๊ณ ์ถ์์ด์
Git ์ฐ๋
ํ๋ก๊ทธ๋๋จธ๋ผ๋ฉด Git์ด๋ ์ฐ๋ํด์ ๋ฐ๋ก๋ฐ๋ก ํ๋๊ฒ ์ข๊ฒ ์ฃ ?
Git - Downloading Package
Download for Windows Click here to download the latest (2.39.2) 32-bit version of Git for Windows. This is the most recent maintained build. It was released 20 days ago, on 2023-02-14. Other Git for Windows downloads Standalone Installer 32-bit Git for Win
git-scm.com
๋ฒ์ ์
๋ฐ์ดํธ๊ฐ ๋๋ฉด์ ๋ชป ๋ณด๋๊ฒ ์๊ฒผ๋ค์ ์ ๊ฑฐ ํด๋ด
์๋ค.
(๋ฑํ ๋ง์ด ์๋ค๋ฉด ๊ธฐ๋ณธ์ ์ผ๋ก ๋๊ฑฐ ๊ทธ๋ฅ Nextํ์๋ฉด ๋ฉ๋๋ค.)
์ผ์.. ๋ค๋ค์ต์ ์ด๋๊น ์ ํํฉ์๋ค.
์๋ง๋ ์ปค์คํ
ํ๋๊ฑฐ ๊ฐ๊ธด ํด์(Stack์์ ๋ณด๋๊น ์๋ง๋?)
๊ทธ๋ฆฌ๊ณ ์ค๋ฅธ์ชฝ์ ํ๋ฉด "์์ํ๋ฉด(๋ฐํ)์ ํ์ผ ์ ๋ง๋๋?" ๋ผ๊ณ ๋ฌผ์ด๋ณด๋๋ฐ ์ทจํฅ์ฐจ์ด๊ฒ ์ฃ
์ด๊ฑด ์ทจํฅ์ ๋ง๋ editor๋ฅผ ์ ํํ๋๊ฑฐ์์
์ ๋ Vim์ผ๋ก ํ๊ฒ ์ต๋๋น
์ค๋ฅธ์ชฝ์ ์ถ๊ฐ๋ ๋ด์ฉ๊ฐ์๋ฐ ssh๋ก ์ฐ๊ฒฐํ ์ ์๋๋ฐ ํ์ฅ์ ์ธ๊ฑฐ๋
์๋ ๊ธฐ๋ณธ์ ์ผ๋ก ์ ๊ณต๋๋ ๋ฌถ์ ํํค์ง ์ธ๊ฑฐ๋ ๋ผ๋๋ฐ ์ ๋ 1๋ฒ์งธ๊ฑธ๋ก ํ๊ฒ ์ต๋๋ค.
Speeding up Git using a built-in file system watcher · git-for-windows/git · Discussion #3251
tl;dr If your worktrees have many files, you can make git status, git commit and git add faster by using the (experimental!) config setting core.useBuiltinFSMonitor = true. For users’ convenience, ...
github.com
์์ ๋ญ๊ฐ ๋ง์๋ฐ ๊ทธ๋ฅ ์ถ๊ฐ๋๊ฒ ๋๋ฌด ๋ง์๋ณด์ฌ์ ๊ธฐ๋ณธ์ ์ธ ๊ฑธ๋ก ํ์ด์
์ด ๋ถ๋ถ์ supportํด์ฃผ๋ ๋ถ๋ถ์ธ๋ฐ git ๋์์ธ 2๋ฒ์งธ๋ ์ฒ์ํ์๋ ๋ถ๋ ์์ผ๋๊น
๊ทธ๋ฆฌ๊ณ git์ด ์ต์ํ์ง ์๋๋ค๋ฉด ํด๋ฆญํด์ฃผ์ธ์(๋์์ด๋๊น ์ ๋ค ํ์ด์)
Git/Github ์ฌ์ฉ๋ฒ ๊ฐ๋จ ์ ๋ฆฌ
Git : version control system Github : remote repository
velog.io
Git ๋ฑ๋ก
Github token create
ํ ํฐ ์คํ ํ ํ ํฐ ํค๋ฅผ ๋ณต์ฌํ ํ ์์ pushํ ๋ ๋น๋ฒ ์์ฑ ๋ถ๋ถ์ ๋ฃ๋๋ค๋ค์
๋ค๋ฅธ ๊ฐ๋ฐํ๊ฒฝ์ด๋ ๊ตฌ์ถํ๊ฒฝ์์ ์ฌ์ฉํ๋๋ฐ ์ ๋ ์์ง๊น์ง ์ฌ์ฉํ ์ ์ด ์๋ค์
SSH Key Settings
ssh-keygen //key create
cat ~/.ssh/id_rsa //private key
cat ~/.ssh/id_rsa.pub //public key
์ดํ์ ๊นํ๋ธ ํ๋กํ์ ์ค์ ์์ ssh key๋ฅผ ๋ฑ๋กํ๋ฉด..
์ฌ์ฉํ ์ ์์ต๋๋ค ๋ ์์ธํ ๋ฐฐ์ฐ๊ณ ์ถ๋ค๋ฉด ์๋ก ๋งํฌ์์ ํ์ธ ๋ฐ๋๋๋น
GitHub SSH ์ ์ ์ค์ ํ๊ธฐ
devocean.sk.com
Github Push(user name & email)
git config --global user.name "your username"
git config --global user.email "your email@email.com"
--global ์ต์
์ default๋ก ์ ์ฒด ๊น์ ์ ์ฉํฉ๋๋ค.
ํน์ ํ๋ก์ ํธ์์ ์ด๋ฆ์ ๋ค๋ฅด๊ฒ ํ ๋ ค๋ฉด --global ์ต์
๋ง ์ ์ธํ๋ฉด ๋ฉ๋๋ค.
๋๋จธ์ง ๋ถ๋ถ์ ์ถํ์ ๋ฐ๋ก ๊นํ๋ธ ์ฌ์ฉ๋ฒ์ผ๋ก ๋์ฑ ์์ธํ ์ ๋ฆฌํ ๊ฑด๋ฐ..
์์ ๋งํฌ๋ค ๋ณด์๋ฉด ์์งํ ํ์๊ฐ ํ ๊น.. ์ถ๋ค์ ใ
ใ
์ฐธ๊ณ ๋ก Git GUI๋ github์ Push, add ๊ฐ์ ๊ฑฐ ํ ๋,
๋ด์ญ ๋ณด๊ธฐ ํธํ๊ฒ ํ๋๊ฑด๋ฐ ์ ๋ ์ํ๋๋ฐ
ํ๊ณ ์ถ์ผ๋ฉด ์๋ก ๋งํฌ ๋ณด์๊ณ ํ์๋ฉด ๋ฉ๋๋ค!
[Git (11)] Git GUI(1) - ์์คํธ๋ฆฌ(SourceTree) ์ค์น๋ฐฉ๋ฒ ๋ฐ ์ฌ์ฉ๋ฐฉ๋ฒ
[Git (11)] Git GUI(1) - ์์คํธ๋ฆฌ(SourceTree) ์ค์น๋ฐฉ๋ฒ ๋ฐ ์ฌ์ฉ๋ฐฉ๋ฒ ์๋ ํ์ธ์. ๊ฐ๋ํฌ ์ ๋๋ค. ์ด๋ฒ ํฌ์คํ ์ [ git ์์คํธ๋ฆฌ ์ค์น ๋ฐ ์ฌ์ฉ ๋ฐฉ๋ฒ ] ์ ๋๋ค. : ) SourceTree - ์ฌํ๊น์ง CLI(Command Line Interface) ํ
goddaehee.tistory.com
์ฐธ๊ณ ์๋ฃ
์ฐธ๊ณ ์ด๋ฏธ์ง