Tony Siu
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    1
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- title: Reading Club WorkShop tags: presentation slideOptions: theme: sky transition: 'fade' allottedMinutes: 2 # Minutes alloted for a slide. # Global override for autolaying embedded media (video/audio/iframe) # - null: Media will only autoplay if data-autoplay is present # - true: All media will autoplay, regardless of individual setting # - false: No media will autoplay, regardless of individual setting autoPlayMedia: null spotlight: enabled: false # Flags if we should show a help overlay when the questionmark # key is pressed help: true # parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg' --- # C/C++ IDE Optimization Tutorial *use the right tool for the right task!* [![hackmd-github-sync-badge](https://hackmd.io/kNFLL4CSQgmx83bx8pxgXg/badge)](https://hackmd.io/kNFLL4CSQgmx83bx8pxgXg) --- **Prerequisites:** Have a Github Account set up, or Microsoft account so as to allow Vscode sign you in to your local IDE. Having Kite Autopilot installed would save time. ---- **Goal of Demonostration:** Enable reader to equip themselves with basic tools that is readily available in this current day. Setting up a barebones Integrated Development Environment, setting up barebones Intellisense configurations and become aware of the Vscode IDE live share extension features.(if have time, finish your homework) ---- **Problem Statement:** Need to have a minimally viable working development environment for learning C/C++(tackle your program design assignments more efficiently) ---- **Propose Solution:** Use available tools provided by current most popular IDE, Vscode, and its many features. ---- **Key Terms** - IDE: Integrated Developement Enviorment - Intellisense: Auto suggestion/ completion toolkit generated off of code processing pattern machine learning - Kite Autopilot: sheer awesomeness! my little coding AI - Github: web based code storage platform ---- - OS: operating system - System Requirements: requirements that enables another software to run in your software - GUI: graphical user interface - Port number:a set of numbers that network protocols recognize each other by - browser: an Desktop executable that connects you to the internet ---- **Otherwise** - [session link here!](https://prod.liveshare.vsengsaas.visualstudio.com/join?E97C1699D57D26E3EABA96E48E038940C0C7) *google is your best friend. professor google always knows best. ask him.* If you think this tutorial be too complicated with too many steps, you can alternatively just click our liveshare session link. This interface should appear ---- ![](https://i.imgur.com/kd0oJiH.png) ---- click on "Join the Live Share session from the browser(preview)" ---- - if you already have vscode downloaded you can click "cancel" when prompt then click on "continue as anonymous" in the lower right of your web browser - if prompt to install codespace for the browser, proceed to do so ---- ![](https://i.imgur.com/tcnR712.png) ---- ![](https://i.imgur.com/l6PCGp0.png) ---- then just type your name, click enter and viola! Once I let you in, you are good to go! --- ## How to setup Vscode native Operating System [Download Vscode video tutorial(Windows)](https://www.youtube.com/watch?v=JGsyJI8XG0Y) VS Code is a free code editor, which runs on the macOS, Linux, and Windows operating systems. --- Follow the platform-specific guides below: - [Windows](https://code.visualstudio.com/docs/setup/setup-overview) - [Linux](https://code.visualstudio.com/docs/setup/linux) - [MacOs](https://code.visualstudio.com/docs/setup/mac) ---- VS Code is lightweight and should run on most available hardware and platform versions. You can review the System Requirements to check if your computer configuration is supported. --- ## Install Kite Autocomplete - [Official Doc](https://help.kite.com/article/53-quickstart) - [Kite Demo video](https://www.youtube.com/watch?v=bF50YPyUKTQ) --- You can [download the latest version of kite here](https://www.kite.com/download/?utm_medium=referral&utm_source=helpcenter&utm_content=53) If you encounter issues while installing Kite, please [browse the known install issues](https://help.kite.com/category/52-common-issues-troubleshooting) to learn how to troubleshoot your problem. ---- #### Creating an account When you open Kite for the first time, Kite's desktop GUI, the Copilot, will appear and ask you to create an account. ---- ![](https://i.imgur.com/zt3yUEE.png) ---- If you don't have a Kite account yet, then you can create one at this screen. You can also choose to skip creating an account by clicking on the "Continue without email" link at the bottom. ---- #### Choosing your editors - just choose vscode for now ---- #### Final settings ![](https://i.imgur.com/3mIhLSd.png) ---- - "Show the Kite icon in your menu bar", Kite will display its menu bar icon in your system tray when it is running - "Automatically integrate Kite when new editors are installed", then Kite will automatically integrate with editors that you install on your system in the future. --- ## Vscode live share extension guide - [Official Doc](https://code.visualstudio.com/blogs/2017/11/15/live-share) - [Medium](https://code.visualstudio.com/blogs/2017/11/15/live-share) - [Vscode liveshare video Demo](https://www.youtube.com/watch?v=8Ck2QhMxAYg) --- Live Share offers the ability to “share a session” with someone else, allowing them to edit code as well as share a server and debugging session. It can be compared to collaborating in Google Docs, by the file sharing options — there are options to edit, comment and run the code written by teammates working on the same project. Users can link their Github account to VS code to start collaborating. ---- 1. Add Live Share to Visual Studio Code - Go to Extensions → Add extra package → Live share package → Install ---- ![](https://i.imgur.com/BkgpRrD.png) ---- 2. Authorizing Live Share sessions - Go to Live share → Session details →Click Start Collaboration Session or Join Collaboration Session - Alternatively, paste the shared link in to where it instructs you to ---- ![](https://i.imgur.com/qTXohVV.png) ---- 3. Share a Server - **Developer Method:** Ctrl + Shift + P → Type “Share Server” → Enter port number! ---- ![](https://i.imgur.com/PdVMCwC.png) ---- *a port number is just a set of numbers that network protocols recognize each other by* - Or simply request access to server for live collaboration ---- 4. Share a Terminal - Live Share has a cool feature to share a terminal, just find the Share Terminals option in the Session Details, you get to choose read only / read and write options for the shared terminals. You can now easily show how to start a development server, build system, or anything else that’s necessary. ---- ![](https://i.imgur.com/b9O4DUs.png) --- ## Miscellaneous --- - [C/C++ extension guide](https://medium.com/@GorvGoyl/run-debug-intellisense-c-c-in-vscode-within-5-minutes-3ed956e059d6) ---- - [Code Runner extension(run C code with a click)](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner) ---- - [How did I create this tutorial book?(click here)](https://hackmd.io/s/how-to-create-book) ----

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully