Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode / VS Code / Virtual Studio Code Embedding #257

Open
clinejj opened this issue Oct 8, 2021 · 39 comments
Open

VSCode / VS Code / Virtual Studio Code Embedding #257

clinejj opened this issue Oct 8, 2021 · 39 comments
Labels
Feature requests Feature Requests

Comments

@clinejj
Copy link

clinejj commented Oct 8, 2021

I largely use the VSCode integrated terminal when developing, due to the easy integration into my workflow and ability to lay out within the VSCode UI.

It'd be great to use Warp, either as the terminal for the integrated terminal prompt (using a custom profile, see https://code.visualstudio.com/docs/editor/integrated-terminal#_terminal-profiles) or even as a separate extension.

@elviskahoro elviskahoro changed the title VSCode Integration Plugins: VSCode Integration - Virtual Studio Code Oct 27, 2021
@elviskahoro elviskahoro changed the title Plugins: VSCode Integration - Virtual Studio Code Integrations: VSCode Embedding - Virtual Studio Code Nov 8, 2021
@elviskahoro elviskahoro changed the title Integrations: VSCode Embedding - Virtual Studio Code Integrations: VSCode / VS Code Embedding - Virtual Studio Code Dec 2, 2021
@elviskahoro elviskahoro changed the title Integrations: VSCode / VS Code Embedding - Virtual Studio Code Integrations: VSCode / VS Code / Virtual Studio Code Embedding Dec 2, 2021
@elviskahoro elviskahoro changed the title Integrations: VSCode / VS Code / Virtual Studio Code Embedding VSCode / VS Code / Virtual Studio Code Embedding Dec 7, 2021
@elviskahoro
Copy link

if I have Warp selected in vscode as my external terminal program, normally I should be able to run the command "Open New External Terminal" and have a new prompt in that program, at the root of the project that I ran the command from. Currently this doesn't work. Focus is switched to Warp but I do not get the prompt in my project folder.

@elviskahoro
Copy link

@o1lo01ol1o
From #605

Describe the solution you'd like?

I'd like to use warp as a terminal in emacs and vscode

Is your feature request related to a problem? Please describe.

Half my terminal time is spent running cli commands in IDE windows.  I'm aware that I could just switch to a dedicated terminal, but that's a context switch that I nearly never undertake.

Additional context

No response

@zanderwar
Copy link

I need this :) I spend all day in my IDE, using the integrated terminal will be just far more efficient for me until Warp is capable of it

@NotSoSuper
Copy link

Would love VS Code remote SSH integration with warp, would fully switch over then!

@paurakhsharma
Copy link

Only thing preventing me from using Warp throughout my day.

@0xad1onchain
Copy link

Please add this feature

@ahinkle
Copy link

ahinkle commented Apr 14, 2022

Has anyone found a hack or workaround for now? Loving Warp but hate having to jump between the two applications. 🙂

@zanderwar
Copy link

VS Code and PHPStorm alike only allow shell applications, warp is not a shell application in itself, it wraps itself around one, warp cannot be integrated into these IDE's without sacrificing majority of the features that make Warp a great product, it'll dilute down to just being another Git Bash. Perhaps a plugin is the only way forward here but warp definitely wont be able to integrate into these IDE's by the standard means, like you would with git bash for example.

@warpdotdev-devx
Copy link
Member

warpdotdev-devx commented Apr 17, 2022 via email

@bmitc
Copy link

bmitc commented Apr 23, 2022

Chances are this kind of integration wouldn't technically be possible until a WASM version of Warp exists.

Is this the main reason WASM is being prioritized over Linux and Windows (in that order)? Is this feature request going into the timeline or being tracked?

I would wager that the amount of overlap between Visual Studio Code (VS Code) users and people who are using or want to use Warp is very high, which includes myself.

@mnhattt
Copy link

mnhattt commented Apr 30, 2022

add this feature, pls 👍

@tanikondadhanram
Copy link

I am really looking forward to this feature.

@Indicaza
Copy link

if I have Warp selected in vscode as my external terminal program, normally I should be able to run the command "Open New External Terminal" and have a new prompt in that program, at the root of the project that I ran the command from. Currently this doesn't work. Focus is switched to Warp but I do not get the prompt in my project folder.

Same issue for us IntelliJ guys. Or you can choose what terminal executable through IDE but warp is different.

@elviskahoro
Copy link

elviskahoro commented May 27, 2022

@bmitc It isn't the primary reason, the nice thing about a WASM version is that users across any platform will be able to use Warp to some degree (in the browser). It's also because our business model (see our pricing page) is a freemium model. Free for everyone with compelling features that teams and enterprises would want to pay for. A WASM version is in many ways a prerequisite to some of the ideas the Warp team has have for team and enterprise.

This is my (personal) understanding of the situation, I hope this helps.

@vjindal0112
Copy link

vjindal0112 commented Jul 5, 2022

As I understand, the main use case is switching quickly between the terminal and VSCode. The Hotkey global window might get it 90% of the way there. Here are the docs.

Using it would look something like this:
https://www.loom.com/share/5e9e80960f7e45e38316f8cae3416352

Steps

  1. Make a new desktop
  2. Fullscreen VSCode in the new desktop
  3. Set up Hotkey window in Warp
  4. Code away

Let me know what you all think!

@bmitc
Copy link

bmitc commented Jul 6, 2022

Thanks for the information @elviskahoro! That was helpful. Looking forward to when I can use Warp on Windows and/or VS Code! I use it on macOS for work and am liking it.

@vjindal0112
Copy link

its helpful but not enough, for example, I got two or more window of vscode , its the better if I trigger warp global hotkey and activate warp (if warp have not launch will new one) , and then go to the root path of the workspace where I trigger hotkey (maybe I need a vscode hotkey to activate warp and pass the workspace path), but its seem like no way to do like one of those. I find a way to do like this in vscode: shift + command + c can open an external terminal under the current directory, the external terminal should be the default terminal,so in other way, if warp can be set as the mac default terminal, it can work like that. as far as I know, iterm2 can do it.

Like @elviskahoro said, we recently launched support for Shift-Cmd-C from VSCode in the latest release! Check out the docs here. Let me know if that's what you meant and if that helps get us closer to a 90% solution.

@dohooo
Copy link

dohooo commented Jul 8, 2022

its helpful but not enough, for example, I got two or more window of vscode , its the better if I trigger warp global hotkey and activate warp (if warp have not launch will new one) , and then go to the root path of the workspace where I trigger hotkey (maybe I need a vscode hotkey to activate warp and pass the workspace path), but its seem like no way to do like one of those. I find a way to do like this in vscode: shift + command + c can open an external terminal under the current directory, the external terminal should be the default terminal,so in other way, if warp can be set as the mac default terminal, it can work like that. as far as I know, iterm2 can do it.

Like @elviskahoro said, we recently launched support for Shift-Cmd-C from VSCode in the latest release! Check out the docs here. Let me know if that's what you meant and if that helps get us closer to a 90% solution.

Lame solution 😵‍💫, but I'm glad we can finally use it together. 🥳🥳🥳 I love wrap!

@Nauxscript
Copy link

Nauxscript commented Jul 8, 2022

its helpful but not enough, for example, I got two or more window of vscode , its the better if I trigger warp global hotkey and activate warp (if warp have not launch will new one) , and then go to the root path of the workspace where I trigger hotkey (maybe I need a vscode hotkey to activate warp and pass the workspace path), but its seem like no way to do like one of those. I find a way to do like this in vscode: shift + command + c can open an external terminal under the current directory, the external terminal should be the default terminal,so in other way, if warp can be set as the mac default terminal, it can work like that. as far as I know, iterm2 can do it.

Like @elviskahoro said, we recently launched support for Shift-Cmd-C from VSCode in the latest release! Check out the docs here. Let me know if that's what you meant and if that helps get us closer to a 90% solution.

yes i have use shift + cmd + c hotkey a few day. in the last version of vscode (1.68.x), if i use this hotkey to open Warp, the new tab of warp would not open on the vscode workspace root path. But now the tab path is correct in vscode version 1.69.0.

there is the setting for someone want to use Warp on vscode(its not really "on vscode" exactly, but use them in easy and comfortable way):
add in vscode setting.json

{
...// your setting
"terminal.external.osxExec": "Warp.app",
...// your setting
}

@just-jeb
Copy link

@vjindal0112, both solutions (hotkey window and shift+cmd+c) come to solve the same problem but I couldn't make it work together. I.e. when I press shift+cmd+c it opens a new Warp session but in a separate window but when I use the hotkey it opens the pinned window unrelated to the window opened with shift+cmd+c. Also, the hotkey doesn't work if there is no running Warp session.
Any chance we can make it work together? It would be a sufficient replacement for the VSCode integration.

@warpdotdev-devx
Copy link
Member

warpdotdev-devx commented Oct 11, 2022 via email

@dannyneira
Copy link
Member

user on #2305 commented:

I mostly use a terminal embedded in my IDE of choice (PyCharm / IntelliJ). This uses a configurable shell and automatically provides the context i.e. Conda environment and working directory. It would be nice to use warp in this context.

@dannyneira dannyneira added the Feature requests Feature Requests label Dec 9, 2022
@wangmir
Copy link

wangmir commented Feb 20, 2023

its helpful but not enough, for example, I got two or more window of vscode , its the better if I trigger warp global hotkey and activate warp (if warp have not launch will new one) , and then go to the root path of the workspace where I trigger hotkey (maybe I need a vscode hotkey to activate warp and pass the workspace path), but its seem like no way to do like one of those. I find a way to do like this in vscode: shift + command + c can open an external terminal under the current directory, the external terminal should be the default terminal,so in other way, if warp can be set as the mac default terminal, it can work like that. as far as I know, iterm2 can do it.

Like @elviskahoro said, we recently launched support for Shift-Cmd-C from VSCode in the latest release! Check out the docs here. Let me know if that's what you meant and if that helps get us closer to a 90% solution.

@vjindal0112 Can this be integrated with hot key support too? when I open terminal using cmd+shift+c, then it's opening on separated tab. And when using hot key, it opens on the same tab as i use, but in that case the instance is always same.

@dannyneira
Copy link
Member

@wangmir Take a look at the Global hotkey window feature, it should help with your use case. https://docs.warp.dev/features/windows/hotkey-window

@DayronDLR
Copy link

when will it be available as an integrated terminal in VS CODE?

@flight505
Copy link

+1 This should be the "most wanted feature"!!! Warp's 10.000 USD reward for good old Billy "The integrated" Wizkiss.

Just imagine the sheer number of Youtube videos that would be made with banging headlines "New AI and terminal in VScode" and so on. Heck, any homeless person with a youtube channel and 30 followers will be putting on Lulumemons and go trawling for likes.. - written by GPT-4.0 (I am not liable)

@flight505
Copy link

🖖They've gone Plaid! Less than 24 hours from the last feature request and devs releases 2023.03.23 (v0.2023.03.21.08.02) - Absolutely amazing, fantastic product by the way - Light years from the competition

  • New features:
    • Added VSCode Insiders as a supported code editor

By the way, how many Borg does it take to change a light bulb? 💡
All of them, because they are one! 🤖

@flight505
Copy link

Why is it that the same three people have been downvoting this feature request?

  • is there some downside to this feature?

@Milo123459
Copy link

We're downvoting it because you're spamming this issue with comments. People are subscribed to know when this is released, not about people saying +1.

@omarluq
Copy link

omarluq commented May 16, 2023

This is really really difficult eng wise. Just being transparent so people don't get their hopes up that this would come out anytime soon. (elvis) Will share more info if things change!

--- original message --- On April 11, 2022, 10:08 AM EDT @.*** wrote: Please add this feature — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>
-- You received this message because you are subscribed to the Google Groups "github" group. To unsubscribe from this group and stop receiving emails from it, send an email to @.
--- end of original message ---

That's true in the case of actually embedding Warp as VsCode's (or any other IDE for that matter) integrated terminal but on the other hand, creating an extension with WASM and typescript should address a lot of the blockers no?

On a separate note, I've been using Warp for about 2 years now and I love it! it truly elevates my day-to-day development experience

@eliasdefaria
Copy link

Echoing my support for this feature. Would be a huge value add to have it baked into my flow with VSCode. This honestly limits my use cases of warp from daily development down to "hey what was that command to kill port x? Oh let me ask warp AI"

@iantimmis
Copy link

support support

@lucianthorr
Copy link

I don't know if this is possible but it could be an improved compromise between the two current solutions (Global Hotkey and Cmd+Shift+C)
If there was a way to customize a Warp profile for the Cmd+Shift+C solution, similar to how we can with Global Hotkey, then a user can say "Pin to bottom of active screen" and Cmd+Shift+C could give the user a Warp terminal on the same screen as VSCode with the workspace root.

@hakobpogh
Copy link

One possible solution would be creating a VS Code extension for Warp. As far as I know, Warp is JavaScript-based, so most of the code could be reused to make the VS Code extension.

@GDanielRG
Copy link

I would pay a subscription to warp if this feature gets added

@kidbrax
Copy link

kidbrax commented Sep 27, 2023

I realize this is a very difficult task but just pointing out that I am unable to fully commit to Warp since I do a lot of my work in devcontainers, which means it would have to work in linux as well.

@dannyneira dannyneira pinned this issue Oct 11, 2023
@dannyneira dannyneira unpinned this issue Oct 11, 2023
@dannyneira dannyneira pinned this issue Nov 1, 2023
@warpdotdev warpdotdev locked as spam and limited conversation to collaborators Nov 29, 2023
@dannyneira
Copy link
Member

Locking to prevent spam, We'll post any updates on this thread regarding VS Code integration/embedding. It'll be possible once Warp is on the Web via WASM (no eta on the release).

@dannyneira dannyneira unpinned this issue Jan 17, 2024
@dannyneira dannyneira pinned this issue Dec 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature requests Feature Requests
Projects
None yet
Development

No branches or pull requests