![]()
You don't have to build an environment locally, You can quickly start developing. It can be edited by multiple people, Improve collaboration efficiency. #PYCHARM COMMUNITY REMOTE DEVELOPMENT CODE#But in practice, Not only is it easy to install, And the operation is friendly 、 Basically no delay is felt, It's like using your own computer, It's really cool !īecause the code runs on a remote server, It can greatly save your computer resources, There will be no case that the computer will be stuck like a dog when opening a few more projects. Īlthough I heard about remote development long ago, But I always thought the configuration of this thing would be very troublesome, And it's useless. ![]() Because there is almost no difference between remote debugging and local debugging, No more demonstrations here. In addition to editing code remotely, We can use VS Code Its own code prompt ability and debugging ability. Then you can access the running project locally ! Press ctrl + shift + p Open the command panel, Search for “forward”, Select forwarding port :Įnter the port number to forward ( The port occupied by the application ), It was added successfully, Very convenient ! VS Code Port forwarding function is provided, Local and remote server ports can be configured, To support applications that directly access remote servers locally. Since the code we edit is remote, The code also runs remotely, If you want to see the running effect of a remote project, What shall I do? ? įirst in VS Code Write a line of good quality code in :Īnd then XShell Edit the file in, You can see it immediately VS Code The line of code written, Write another line under it :Īfter preservation, stay VS Code You can see all the code in : #PYCHARM COMMUNITY REMOTE DEVELOPMENT SOFTWARE#We can use VS Code And others SSH Connection software ( Such as XShell) To simulate that two users are working together to write the same code file at the same time. ![]() Have access to XShell Wait for other remote SSH Connect software to access the same server, Enter the same directory, use ls View the files in the directory, You can see in VS Code New in java file : Let's create a new file in the editor test.java , On the left, you can see the files in the directory : įor example, I enter my own project directory here : In the left panel “ Connected to remote ”:Īfter connecting to the remote, We can operate our own local computers, Browse files on a remote server. Then the connection information is added successfully :Ĭlick on connect Button, The connection is successful, You can see. įollow the prompts to enter the user name of the remote server you want to connect to 、 The host address ( If there is no server, Starting the virtual machine locally can also ), Remember to bring -A Parameters ( Turn on the proxy forwarding function ):Īfter entering the connection information, Choose to save this information to a configuration file : Once installed, Press ctrl + shift + p Open the command panel, Input “remote”, find Remote - SSH: Add New SSH Host, Add one SSH Remote connection. #PYCHARM COMMUNITY REMOTE DEVELOPMENT INSTALL#Here we choose the second one in the figure below Remote - SSH, Click Install : ![]() #PYCHARM COMMUNITY REMOTE DEVELOPMENT WINDOWS#Start by opening VS Code, Click the expansion button on the left, Search for “remote”, You can see some remote development plug-ins, Support SSH Remote connection 、 Connect Docker Containers 、 Connect Windows Upper Linux Subsystem, etc. VsCode editionīecause VS Code Relatively lightweight and easy to use, Here's a wave of actual combat VS Code Remote development. It is recommended that you directly use the remote development plug-in provided by the development tool, such as JetBrains Family bucket and VS Code. It sounds great, There are many technologies for remote development, For example, the oldest remote control mode. īe careful ! Don't think of remote development as telecommuting. In other words, We can squat at home, Use your own computer to flexibly edit the code on the server far away.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |