Giter Club home page Giter Club logo

show-path-in-title-netbeans-module's Introduction


Looking for maintainers, who want to take over the development!


show-path-in-title-netbeans-module

It shows the current project group, project name, path of the current file/node/editor and IDE version in the titlebar of NetBeans. It can be configured using an option panel.

See http://plugins.netbeans.org/plugin/42000/show-path-in-title This implements the feature request from http://netbeans.org/bugzilla/show_bug.cgi?id=159722

Updates in 3.0.0

Updates in 2.2.0

  • [Issue 25]: Fixed: Wrong file displayed if using docked windows (initial code by Shredder121)
  • [Issue 3]: Fixed: When multiple files are selected only the last one is shown

Updates in 2.1.0

  • [Issue 21]: Speed up the query for the current project (PR by Shredder121)
  • [Issue 22]: Update to 8.0.2 platform
  • [Issue 17]: Move options to Options|Appearance

Updates in 2.0.1

  • [feature] Issue 14: Show project group, if available
  • [internal] use another non-API approach get the name of the project group. Fortunately this allows the plugin to be compatible to older NetBeans versions.

Updates in 1.3.1

  • [fix] Issue 11: Preferences are loaded on every change
  • [fix] Issue 12: Use original window title instead of hardcoded string

Updates in 1.3.0

  • [feature] Issue 7: Show path, when in external sources
  • [fix] show projectname + projectdir, when selecting a project node

Updates in 1.2.1

  • [feature] shows full path when project is selected - useful in conjunction with option "use selected node as source for path"

Updates in 1.2

  • [feature] shows path relative to project directory (eclipse-like, it is activated by default, old mode can be activated manually)
  • [feature] additonal mode: use open editor as source for path (eclipse-like, has to be enabled manually)
  • [fix] prevents empty title - default is "NetBeans"

Provide defects, request for enhancements and feedback at https://github.com/markiewb/show-path-in-title-netbeans-module/issues

Compatible to >=NB 8.0

Legal disclaimer: Code is licensed under Apache 2.0.

show-path-in-title-netbeans-module's People

Contributors

markiewb avatar shredder121 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

show-path-in-title-netbeans-module's Issues

Can't activate in NB7.3beta

What steps will reproduce the problem?
1. Go to NB/Tools/plugins
2. Try to install/activate show-path-in-title plugin
3. Error appear: 
Activation failed: Not all requested modules can be enabled: 
[StandardModule:de.markiewb.netbeans.plugin.showpathintitle jarFile: 
C:\Users\MaXyM\AppData\Roaming\NetBeans\7.3beta2\modules\de-markiewb-netbeans-pl
ugin-showpathintitle.jar]

Windows7 64bit
JRE 1.7


Original issue reported on code.google.com by [email protected] on 18 Nov 2012 at 11:44

Also display project and program

Currently, the file path completely replaces all other items, so instead of:

    ProjectFoo - NetBeans IDE 7.1.1

... we have:

    D:\Path\To\Stuff\Projects\Foo\site\htdocs\bar\file.php

And if no editor is in focus (e.g., we click on the Properties panel) the title 
is empty.

Not sure about the best layout, though:

    [1] D:\Path\To\Stuff\Projects\Foo\site\htdocs\bar\file.php - ProjectFoo - NetBeans IDE 7.1.1
    [2] file.php - ProjectFoo - D:\Path\To\Stuff\Projects\Foo\site\htdocs\bar\file.php - NetBeans IDE 7.1.1
    [3] file.php (D:\Path\To\Stuff\Projects\Foo\site\htdocs\bar) - ProjectFoo - NetBeans IDE 7.1.1
    [4] ProjectFoo - D:\Path\To\Stuff\Projects\Foo\site\htdocs\bar\file.php - NetBeans IDE 7.1.1
    [5] ProjectFoo - file.php (D:\Path\To\Stuff\Projects\Foo\site\htdocs\bar) - NetBeans IDE 7.1.1

My favourites are probably #4 and #5.

Original issue reported on code.google.com by kAlvaro on 29 Mar 2012 at 12:31

Activate error

Not all requested modules can be enabled: [StandardModule:de.markiewb.netbeans.plugin.showpathintitle jarFile: ~/.netbeans/dev/modules/de-markiewb-netbeans-plugin-showpathintitle.jar

NetBeans 8.0.2 support needed

What steps will reproduce the problem?
1. Install NetBeans 8.0.2
2. Download the plugin
3. Install the plugin
4. Installation fails

What is the expected output?
Success of installation

What version of the product are you using? On what operating system?
Plugin: latest version
OS: MacOS 10.10.1

Original issue reported on code.google.com by [email protected] on 29 Nov 2014 at 9:15

Move options to Options|Appearance

What steps will reproduce the problem?
1. Open options dialog 
2. Open the IDE log
3.

What is the expected output? What do you see instead?
No WARNING message about the plugin, but there is one

WARNING [org.openide.filesystems.Ordering]: Not all children in 
OptionsDialog/Editor/ marked with the position attribute: 
[de-markiewb-netbeans-plugin-showpathintitle-options-ShowpathintitleOptionsPanel
Controller.instance], but some are: [CodeCompletion, Formatting, Hints, 
MarkOccurrences, OnSave, General.instance, Folding.instance, 
Formatting.instance, CodeCompletion.instance, CodeTemplates.instance, 
Hints.instance, MarkOccurrences.instance, Macros.instance, OnSave.instance, 
org-netbeans-modules-spellchecker-options-SpellcheckerOptionsPanelController.ins
tance]




Original issue reported on code.google.com by [email protected] on 2 Mar 2014 at 4:02

Please add download link for this plugin

Download link in catalog NetBeans for place old version this plugin.
I use NetBeans version 11.3.
Downloaded plugin from catalog NetBeans not install in NetBeans v.11.3.
Please add download link this file plugin in github repository.

Static prefix to the title

I've got only one project but of multiple versions in parallel. I've noticed 
that if I create multiple projects in the same workspace, IDE is getting to be 
slow because of size of it's caches. It's much better to have each version in a 
separated workspace and to operate multiple instances of NB in parallel. 
However the problem is to distinguish two instances of NB from each other since 
projects have always the same name and path is also very similar.

Obviously it's possible to use current version of your tool and make the 
distinction based on filename, however I'd prefer something more straight 
forward. E.g: 3 instances of NB with titles '1', '2', '2.5'. 

Please consider adding of a static prefix to the title, configurable via 
settings menu.


Original issue reported on code.google.com by [email protected] on 10 Aug 2013 at 1:15

Feature request: Show only portion of path minus Project root path

Thank you so much for this simple plugin-- fits the bill right away!

In my use case, the project path is pretty long 
(/Users/bronius/Documents/projects etc etc etc) and so the resultant file path 
in titlebar is unnecessarily long.  Would it be possible to truncate that to be 
simply "file path minus project root path"?

Attached is an example of how long it is and what portion (in my case) could be 
removed.  Perhaps this could be an additional config setting?

Thanks
-Bronius

Original issue reported on code.google.com by [email protected] on 1 May 2012 at 3:34

Attachments:

Update to 8.0.2 platform

Don't support previous versions anymore. I don't want to install NB6.9 anymore to compile against it.

Not install, and not working. (NB15)

I renamed this extension I'm convenient for storage. But now I can't install it.

The plug-in loading check cannot be completed. Reason: NBM
C:\Users\user1\AppData\Roaming\NetBeans\15\update\download\de-markiewb-netbeans-plugin-showpathintitle.nbm needs unpack200 to process following entries: 
netbeans/modules/de-markiewb-netbeans-plugin-showpathintitle.jar.pack.gz

File name de-markiewb-netbeans-plugin-showpathintitle-3.0.0.nbm not installing

Please add a delay for updating title bar

I had a look in this and if I have time I will do a pull request to add a delay:

https://github.com/markiewb/show-path-in-title-netbeans-module/blob/master/src/de/markiewb/netbeans/plugin/showpathintitle/Installer.java#L46

because if you have a lot of projects open, and files and so on, each time you select a node, it will change the title and after 8 hours of using NB, it will hang a bit, because of the updating event (In my opinion). So for me a delay of about 300ms or so, will be fine, because then you will be not moving the arrow keys anymore. NB does such delay too for tje project names. You select project1 and you select project 2 and jump to project 3 and stay there, NB will update to project3 from project1, without updating on project2.

Cheers

Chris

"Use open editor" does not work for PHP projects

Since upgrading to NetBeans version 8.1, my title bar only shows the current project name and the NetBeans version, regardless of what I set in the preferences. I'm running version 2.1.0

My preferences are set like this:

grab1

…and my IDE log from a clean start is here:

ide_log.txt

I'd wondered if the problem was triggered by using projects with the nbproject folder saved outside the project root (in $HOME/NetBeansProjects) but a test project with the metadata in the project folder produced the same results. Here's a copy of the project files for the project I'm currently working on, in case it helps: common.zip

Thanks!

Reverse path

I think the most relevant part of the path is the latest.

For instance I have for now : FooBar - /ressources/Views/Foo/Bar.php

I would like to have something like : FooBar - Bar.php\Foo\Views\ressources\

I don't know if it fits most people needs but I think it would be usefull.

Thanks for this plugin !

Original issue reported on code.google.com by [email protected] on 9 May 2012 at 8:48

Make plugin more smart + apply title to tabs too

There is good plugin for IntelliJ IDEA - 
http://plugins.intellij.net/plugin/?idea&id=5045 .

I propose add some features from it. For example when we opening 2 files: 
"modules/blog/controllers/DefaultController.php" and 
"modules/user/controllers/DefaultController.php" it will display "[blog] 
DefaultController.php" and "[user] DefaultController.php" in tab headings.

Original issue reported on code.google.com by molodchick on 29 Jun 2012 at 12:04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.