I am using apache2 server where I have my Git repo cloned. I want to be able to open the folder in VS Code using code . but when I run that command it says -bash: code: command not found - Do I have to install a package on the server and if so, where would I need to install it. Many thanks.
How to open a file from apache2 in VS Code using 'code .'
426 Views Asked by Raj Chudasama At
1
There are 1 best solutions below
Related Questions in VISUAL-STUDIO-CODE
- Is there a way to prevent vscode from forwarding ssh agent to remote dev container?
- flutter Null check error: did not show file and line number
- vscode, debug angular, first time, doesn't debug, 2nd time stops at main.js then it's ok
- trouble with creating a project for Pymakr in vscode
- Compiling c++ code by VS Code is always blocked by clang-tidy error 'Error running 'clang-tidy'
- Disable typescript in VS Code
- couldn't sign in visual studio code
- I can't add text to "Message" in VS Code when committing to Git
- Cannot type single backtick in VSCode
- WebScraping doesnt work, even without error
- Visual Studio Code keeps discovering python interpreters forever and vscode-server on remote is busy 100%
- vscode uses different cocoapods version when running a task
- Live server extension in VS Code works in background but do not pop the web browser
- How to recover deleted files from create vite react project
- Autocomplete not working for apache spark in java vscode
Related Questions in SERVER
- Sending data from C++ server to React.js client
- Deploy Flutter and Laravel php mobile app on the host server
- Protect Server Actions with Next Auth in Next JS 14
- Cannot interact with netcat server over distance
- Facing fatal errors while running "yum update" command on CentOS 7/Cloudlinux 7
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- How to run GRPC and REST server on same port in Go?
- Share files from the server without data or internet usage
- Django Not Sending Tasks to Celery in Production
- Install Postfix Mail Server
- Is it viable proxying all my mobile apps requests, to some kind knowing that a request is coming from a secure source
- How does a server handle multiple requests, and how does is know where to send which response?
- Trying to launch batch file from powershell, and immediately closes
- Apache: How can I redirect to a subfolder with a URL param but serve required content via the main URL?
- Developing on a remote server an app symfony
Related Questions in APACHE2
- Issue with [proxy_fcgi:error] [pid 1539011] (70007)The timeout specified has expired
- Moving a website from a subdomain to the domain root
- Odoo live chat not working when using apache reverse proxy
- apache2 rotatelogs creates log file but its empty when deployed to azure web app
- Docker networking forwarding failed
- PHP apache2 - php script cli will write txt file but browser will not
- Issues while deploying flask app using apache2
- Apache2 redirection results in wrong URL
- RewriteRule ^$ https://www.google.com : eventually want to redirect / to /something_else/index.html
- Running A ReactJS App in a subfolder under root creates 404 errors
- Troubleshooting incorrect content on mobile redirect
- How to add custom apache2/httpd header based on BALANCER_WORKER_ROUTE variable?
- Node js on apache2 failed
- Apache2 Modsecurity configuration file error
- How to configure application inside the apache2 and application running on windows tomcat server
Related Questions in APACHE2-MODULE
- Apache2 RemoteIP module returns 0.0.0.0 when RemoteIPHeader X-Forwarded-For is set
- How can I specify the path to redirect requests from apache2 to a tomcat worker node using mod_jk?
- How to get module name in log line via ap_log_error in a Apache Module in C?
- How to install Modsecurity 2.9.6 on Debian 11 with Apache2?
- How to replace string with a string having space characters in substitution part of mod_substitute
- JWT verification module for Apache2 compatible with CloudFlare
- PHP setlocale / strftime output differs between cli and web
- How to open a file from apache2 in VS Code using 'code .'
- How do I get the status code 307 instead of 200? I am using apache2 in ubuntu 18.04
- Apache2 https: enable websockets for live streaming
- Linux Ubuntu apache2 config
- How can an HTTP 403 be returned from an apache web server input filter?
- How can I disable the switch back to mpm_prefork by Apache Security update?
- Add mod_rewrite to Docker image httpd:alpine
- How to programmatically obtain the apache2.conf file directory or path inside a module?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Thanks for all the help which is really appreciated. Anyone who comes across this problem, I simply downloaded the Remote-SSH extension in VS code which allowed me to do open the files on the server directly in the code editor and edit as normal.