rajeshvaya / Sublime-Extended-Tab-Switcher

View all open files (sorted/unsorted) for switching between them.
MIT License
26 stars 10 forks source link

Display path below file name #3

Closed Nicolas-Bouteille closed 9 years ago

Nicolas-Bouteille commented 9 years ago

I was told that GotoOpenFile had been retired for this package, however, this one does not do one simple yet important thing: display the path below the file's name. Thus making it possible to distinguish between two files that have the same name but are located in two different directories. In Drupal this will happen a lot with the template.php file, or template files like html.tpl.php page.tpl.php. So even if we are talking about open tabs here, I sometimes need to apply modifications on several themes at once so I have multiple files sharing the same name opened. Or when I customize my page.tpl.php file, I like to have the original system/.../html.tpl.php also opened just in case I need to have a look at it.

rajeshvaya commented 9 years ago

Hello @Nicolas-Bouteille ,

It was planned to add it in the next release, however I have pushed it as a minor release v2.1.0 because the next major release would take time

Checkout v2.1.0 in the tags and it should work for you (updated the instructions in README file)

Nicolas-Bouteille commented 9 years ago

That was fast ^^ Quick question though: what does your plugin have that GotoOpenFile does not? Why replacing that plugin?

rajeshvaya commented 9 years ago

Checkout https://github.com/wbond/package_control_channel/pull/3330 for the reasons to merge all the different open file plugs into one

Nicolas-Bouteille commented 9 years ago

Ok will do so! For now, let me get back to you on the displaying path thing: I have installed 2.1.0 and enabled the option in my prefs, it works fine. But man, this is making things unreadable now! It is on the same line, using the same font-size and color and displaying the full-full path of the file starting at my computer's root instead of relative to the project root like GotoOpenFile. I really think you should have a closer look at GotoOpenFile before trying to replace it.

Nicolas-Bouteille commented 9 years ago

I now understand that your plugin is merging all open files plugins into one and I will be glad to use it once the path is nicer below the file name... However, I wanted to mention that IMHO, GotoOpenFile was also the perfect name for this plugin for two reasons:

rajeshvaya commented 9 years ago

@Nicolas-Bouteille Sure, thanks. I will look into it

rajeshvaya commented 9 years ago

Hey, I have tidied up the file path with relative paths with proper font size (release v2.3.0)

Cheers

Nicolas-Bouteille commented 9 years ago

I have to say I'm impressed by your reactivity. This is really nice. Yesterday, I decided I would not to use Sublime Text anymore for other reasons and I actually had switched to PHPStorm, but I have reopen Sublime and installed your plugin just to review your work. Thanks again and congratulation. Keep up the good work ;)

rajeshvaya commented 9 years ago

Cheers.. If you are looking for PHP IDE try the netbeans for PHP(without the java plugins, its really fast). I had used it for few years and it was really nice.

Nicolas-Bouteille commented 9 years ago

I was using Netbeans when coding in Java EE. My favorite compared to Eclipse. I have tried to switch to Netbeans once for Drupal dev, but I could not make Drupal hooks autocomplete working on the latest version which really frustrated me. I also found it hard to issue a bug and the guys would not solve it. I also remember Netbeans being very slow even with only PHP plugins installed. There actually are some videos out there comparing the speed of Netbeans and PHPStorm, and PHPStorm is much faster. Finally PHPStorm is clearly working with the Drupal community in mind, which I can only like as a 100% Drupal developer.