In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how ubuntu uses vscode. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
How ubuntu uses vscode
VS Code is a lightweight editor with the following advantages:
Cross-platform, lightweight support in windows,macos,linux supports multiple languages, such as C++, C#, JAVA, PYTHON, PHP and so on.
VS Code installation
1. Download the installation package from the official website at https://code.visualstudio.com/Download
Choose to download as needed. I downloaded the .deb file of the ubuntu system.
Deb is the installation format of debian linus. The most basic installation commands are:
Dpkg-I file.deb
2. So go to the directory where the .deb file is located and execute the above statement.
3. After the installation is completed, type code on the command line to invoke the software.
The interface opened for the first time is as follows:
4. Install the development language support tools you need.
I am used to compile python. Locate the Tools and languages shown below and click
The plug-ins for each tool appear on the left as follows:
Just choose what you need for install. After installation, you can support the development of python.
Basic use of VS Code
Create a new file, named test.py.
Test the code:
Import numpy as npa=np.ones (5) print aprint ("hello")
The default shortcut key for running is F5, and there may be some discrepancies. Try it yourself.
The results are as follows:
This implements the installation and basic usage.
Thank you for reading! So much for sharing the methods of ubuntu using vscode. I hope the above content can be helpful to you so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.