Johan Leirnes on Need to research alternative I… Jpluimers on rsync backup of your ESXi box:… NET About Apple C# Conferences Conference Topics Delphi Delphi XE2 Delphi XE3 Development Event Google History Internet LifeHacker Linux Mac OS X / OS X / MacOS Personal Power User Scripting Security SocialMedia Software Development Source Code Management VMware Web Development Windows Windows 7 Not everybody wants to become McDonalds like.*nix *nix-tools. Yet another situation where all of us would benefit of having both ST&SM open sourced, we (the whole community) would be able to dispatch these issues in no time, being able to reduce the number of massive existing pending issues from the issue tracker, etc… Not going down into the “why ST is not open source” rabbit hole again, it’s what it isĪlthough I’ve always wondered, would have VsCode been able to win the battle against Sublime if the later would have decided to open source many years ago? You never know but I’ve always thought the foundation of Sublime has always been much much stronger than the Electron editor… IMHO the only it failed was the workhorse power… They wanted to keep it as a small familiar cozy company and that’s fair enough. Hehe, yeah, unfortunately I think I’m out of luck. If it doesn’t work, maybe you are out of luck (Unless git has a way to do it) git/modules/path/to/submodule is about deleting, right ? So delete_folder is the only option. Regarding deleting the folder, i went through all commands provided by your awesome CommandsBrowser package and as you said at the very beginning, it doesn’t seem like it possible to accomplish this task with the functionality offered by sublime_merge, at least I didn’t find how to do it.Ībout renaming the path… it doesn’t seem like it’s possible to input custom user parameters on neither Submodule Section.sublime-menu nor Submodule.sublime-menu hooks, right? Good question :)… I created this command few months ago and at that time it was because i wasn’t too happy with the functionality provided by the existing Add Submodule? Not sure why though? Maybe i thought it wasn’t possible to specify a full relative path with that one and just the name? Dunno tbh SM has Add Submodule from both command palette and in the Submodule Section so there isn’t really a need to add your own unless you want to do something else ? Why do you want to manually add a Add Submodule to the command palette. "argv": Īnyway, I won’t go too offtopic here… coming back to research the delete_folder of the submodule now Guess that’s not possible to accomplish? Btw, one of the problems of using below command in Default.sublime-commands was that you wouldn’t know the real name of parameters as you’ll only see $text: [ I’ve seen 266 commands available, not sure if this will help though for the current Wow, thanks a lot, you’ve packed lots of really interesting info in this thread already… I was going through the docs and I don’t see many of the interesting bits there.įor instance, it’d really useful to know which ones are all hooks a user can add commands into, right now in my user folder I’ve got just this bunch:ītw, before I had this command living in my Default.sublime-commands file but now I know there is a Submodule Section.sublime-menu file I wanted to move it there but it seems it won’t be possible as when i try to execute SM won’t ask about these 2 arguments $text $text. ītw, I’ve just gathered all default commands provided in SublimeMerge 2059 and here’s the list git/modules folder that points to the target submodule ? I am not sure. gitmodules & changes to submodule entry in. Does it entail changing the submodule name, submodule path in. My knowledge of submodules just comes from 15 minutes browsing through YT videos & git docs (since I have never used submodules), so maybe you can tell how this could be done via the git command. “change the path of an existing submodule” Also, normally deleting anything should have a prompt to go along with it, but you can’t do it in SM for custom commands without plugin support. The delete_folder command doesn’t seem to work so maybe that part has to be done manually. git/modules/path/to/submodule can be achieved. This takes care of git submodule deinit -f path/to/submodule & git rm -f path/to/submodule. So in order to add an entry to delete a particular sub module, you need to create a Submodule.sublime-menu file Packages/User (Use Preferences -> Browse Packages) and add the following [ The menu in your first picture is rendered by Submodule Section.sublime-menu and the second one by Submodule.sublime-menu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |