-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add option to clone repository in VSCodium #21123
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello, please commit translations on crowdin, thanks!
ref: https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md#translation
I don't think this is a meaningful addition. /rant(Also why on earth did the codium people use another protocol specifier, if it's basically the same software as vscode, supporting the same protocol? Are we supposed to add buttons for `clone in vim`, `clone in gvim`, `clone in neovim` too?) |
Related: #21121 (comment) Perhaps we should have a discussion about how best to do this generically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also use codium ...
... but we need a generic way
Ideally the editors agree on a common URL scheme, or VSCodium is made to support |
Also agree to use a generic way, instead of patching for every editor. For VS Codium:
|
Does not look like VSCodium wants to support |
Maybe a button |
i think the more apt and more general one was :
|
I think showing option for both is best way as at least I use both but on different computers (at work I use vscode because of required dotnet support, on my personal computer I use codium) 🙄 So having to set as user preference would mean either I would have to go to settings to switch all the time that would not be practical or like now deal with the fact that it works only on one computer |
I do not think "adding many options for one purpose" is the right direction. The purpose for this feature is: open the repo clone link in IDE, while there are a lot of IDEs. Maybe one day, a user may say: "I use Fleet and I want to add a menu item for Fleet", then another user may say "Add a menu item for Zed" and "Add a menu item for Eclipse", then Gitea will have a lot of menu items for various IDEs. |
Ok but these are just theoretical and I don't see having two options now being a problem, just like Gitlab also have two currently |
Remove all translations except en-US
please revert changes to options/locale/locale_fa-IR.ini and also can svg icon be made square? |
how about using a text input field? the user flow/pseudocode being: User flow/pseudocodeE.&O.E.
Benefits:
|
There would be no benefits to that as what are the chances that there will be third editor with same url structure that vscode and vscodium have? |
* I was thinking that all the vscode based editors will have the same uri
structure
* and there are many already - not just a hypothetical unlikely future
possibility.
* refer my [quoting comment above](
#21123 (comment)) to
see the list
Pasting it here too for quick reference:
*Should we allow any fork of VS Code , i.e. Gitpod, openvscode-server,
code-sever, any Theia based product?*
Lauris BH wrote:
… what are the chances that there will be third editor with same url
structure that vscode and vscodium have?
Message ID: ***@***.***>
|
If it's not hypothetical can you give example of any other code editor url scheme that already exists? |
'm busy currently. 'will research (which mostly consists of waiting for the
downloads of different clients to complete) next week and reply accordingly.
Lauris BH wrote:
…
If it's not hypothetical can you give example of any other code editor url
scheme that already exists?
|
At least I did not find one |
i tried but couldn't find. sorry for the delay. If someone want to try themselves, here's a list i prepared, but didn't got time to try with:I thought to check from this list
List took from "Selected Tools based on Eclipse Theia":
|
|
This comment was marked as outdated.
This comment was marked as outdated.
Doesn't this also require JavaScript code changes now? |
I just tested with a local build and the links are both (VSC + VSCodium) correct, and I could open a repository on buttom click. |
to me it seems that it can be removed, but I guess this is another issue and should be discussed seperately?! |
No, it can not be removed at the moment. #22364 (comment) |
I would like to refuse this PR and introduce a personal configuration to set your favourite local IDE/Editor. Then the menu will become your favourite IDE/Editor. Everyone could clone and open the repository with his IDE/Editor. |
Closing in favor of #22378 |
Oh wow this is kinda rude, isn't it? 🚩 I put so much effort in getting this done, this could have been my very first contribution. This is very demotivating and shure a configurable solution is the logical next step.. But as you are long time contributer and also a owner 🫣 you shure have your reasons or might even don't care at all... https://gitea-open-letter.coding.social/ 🚩 |
Thanks for your contributions, and we appreciated for your efforts. Could you test #22378 ? I believe it could respect more users' freedom on choosing favorite editors. That's why this PR could be replaced. |
These things were actually brought up on the same day as the PR was opened. I understand it's frustrating to have your work superseded, and I apologize for not intervening sooner/more persistently. We really do appreciate the work put in to this, though. |
|
Personally I would not minded also for this to be non-generic way as in this PR as I don't see much problem on having menu having even 7 menu items always as it's still just dropdown. But I don't mind also generic way as long as I have option to get my workflow done :) |
I would like to clarify on this, as this may pop up in minds of other people too. Sorry for the "necro bump" i guess?
|
🤐