![]() ![]() ![]() Create the first commit by writing a text message and pressing Cmd-Enter, or clicking the ✔︎ icon on top. Clicking the first icon on top, with the Git logo, allows us to initialize the Git repository: The U beside each file means that it’s been updated since the last commit (since we never did a commit in the first place, all files are updated). In this case the folder we opened does not have source control initialized. Git & Visual Studio Code Visual Studio Code includes integration with Git out of the box. Clicking the 3 dots shows a panel that lets you just include some specific kind of files, and exclude other files: Source Control The Source Control tab is enabled by clicking the third icon in the toolbar. Clicking the ▷ symbol on the left enables the search and replace tool. Clicking it shows the search interface: You can click the icons to make the search case sensitive, to match whole words (not substrings), and to use a regular expression for the search string. Search The second icon in the toolbar is “Search”. Note: This is using Mac Keyboard Shortcuts View Visual Studio Code Shortcuts If you select a file on the left, that file will open on the main panel: Once you start editing it, you’ll notice a dot will appear next to the file name in the tab, and in the sidebar as well: Pressing CMD+P will show you a quick file picker to easily move in files on large projects: You can hide the sidebar that hosts the file using the shortcut CMD+B. VS Code will show that folder content in your view: On the right hand side, the empty view shows some commands to perform some quick operations, and their keyboard shortcut. ![]() Choose one folder where you have source code, or even just text files, and open it. Visual Studio Code Welcome Screen The 5 icons on the left toolbar give you access to:įile Explorer Press the “Open Folder” button in the sidebar, or the Open folder… link in the Welcome page. ![]() Once you’ve completed the download, you should see the welcome screen image featured below. Also, Microsoft releases an update every month to ensure quality. ![]()
0 Comments
Leave a Reply. |