Git Product home page Git Product logo

blueprint's Issues

Open Minimap By Default?

Is there any way to set blueprint to open the minimap view by default? Currently it opens the outline view when I open a file, and I have to click the minimap button to get the view I want

Outline, not correctly displaying changing the sidebar width.

Hi, first off all i think its a great plugin.
And i love how easely i can jump to parts to code parts.
But i noticed that the outline moves too when you change the width of your sidebar.
I expect this is a know problem, but i'm still reporting it.
Because it would be awesome if it could get fixed.
Now i allways need to restart brackets or resize to origenal size.

normal:
normal

after i moved the sidebar:
sidebarmoved

not working any longer after last update

I use it only on Linux, then I don't know if the problem is related to the OS, but after the last update, on 2 computers that I have, the panel is jsut empty, either "Minimap" and "Outline"

Sorting should be disabled for html

I think sorting should be disabled for html.
I don't think it makes sense to sort the html tags.

In general I believe that there should be an option to disable sorting in every file.

[Feature Request] Ability to change font size in outline

Hi Salt42. Thank you for this extension, it's the first outline extension for python that has successfully worked and grabbed all of the functions for me.

I was wondering if you would please expose the font size used in the outline in a settings file. I would like to shrink the font size as the text is a little large for me.

Thanks again for this extension.

Strange issues with JavaScript

I have a JavaScript file with HTML and CSS code as comments inside the function. Blueprint process it strangely, which affect the apperance of editor, and output a wrong minimap.

Attached with the JavaScript file (the first picture is a javascript file) which caused the issues and 2 screenshots.

const js

1

2

Fails to parse python (problem using codemirror?)

Blueprint con't parse python - here's the error console output:


Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper.
at new _beforeHTMLReady.jQuery.fn.init (/brackets.js:481:36)
at n (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:405)
at file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/main.js:361:3
at _callHandler (/utils/AppInit.js:93:13)
at Object._dispatchReady (/utils/AppInit.js:113:13)
at Object.eval (/brackets.js:291:33)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26911)
at Object.k.add as done
at Object.d.always (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28096) /utils/DeprecationWarning.js:90
Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper.
at new _beforeHTMLReady.jQuery.fn.init (/brackets.js:481:36)
at n (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:405)
at file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/main.js:367:3
at _callHandler (/utils/AppInit.js:93:13)
at Object._dispatchReady (/utils/AppInit.js:113:13)
at Object.eval (/brackets.js:291:33)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26911)
at Object.k.add as done
at Object.d.always (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28096) /utils/DeprecationWarning.js:90
Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper.
at new _beforeHTMLReady.jQuery.fn.init (/brackets.js:481:36)
at n (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:405)
at Object.exports.update (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/src/minimap.js:262:3)
at parseDoc (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/main.js:162:12)
at Object. (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/main.js:281:4)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26911)
at Object.k.add as done
at changeDocument (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/main.js:272:50)
at file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/main.js:368:4 /utils/DeprecationWarning.js:90
Exception in 'currentFileChange' listener on
Object
TypeError: Cannot read property 'length' of undefined TypeError: Cannot read property 'length' of undefined
at callback (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/src/outlines/python.js:67:36)
at update (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/src/outlines/python.js:167:5)
at Object.exports.update (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/src/outlines/python.js:186:14)
at forceUpdate (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/src/outliner.js:197:17)
at Object.exports.update (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/src/outliner.js:281:10)
at parseDoc (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/main.js:159:18)
at Object. (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/main.js:281:4)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26911)
at Object.k.add as done
at changeDocument (file:///home/rick/.config/Brackets/extensions/user/blueprint.outliner/main.js:272:50)


hope that helps a bit...

auto open on start

hello! Please tell me how to change this behaviour?
After start bracket - blueprint is openup.
Dont need this plugin everytime, so y want to keet this collapsed, till i want to use it

Does Not Show Comments in Minimap

The minimap view does not show comments. The only reason that this is a concern is that I am working with files that have a lot of comments at the end of the files and I would like to scroll quickly to those sections of the file too. It does leave dark space at the end of the file, but I would like to see those comments in the minimap for better prediction of where they are in the file.

Maybe text-wrapping too in the minimap as a feature request. I know that really is petty, but I believe it would make the view more useful.

Can't close settings dialog

When I open "Settings" dialog of this extension, I can't find a way to close it. It blocks the whole application and I have to terminate it. Besides, settings window is in black letters on dark background, very hard to read.

Error generating outline with JS code

Hi,
First of all thanks for you plugin :)

With the new versions of the plugin, it doesn't generate the outline of my JS code anymore.
Since I don't think I found the real source, I didn't make a pull request. Instead I posted some screenshot of my debugging procedure.

Anyway, When focusing on a JS file the outline was not generated.
Opening the Chrome debug console for Brackets I saw some errors on your outline.js file, so I added a console log just before the error line and this is the output (the error on the first line is of Theseus plugin):
screenshot from 2014-11-07 16 03 23
screenshot from 2014-11-07 16 03 05

So from here it seems that the recursive(node) function is called twice, once with the correct object you would expect, and once with a function.
Therefore I tried to add a check for the value of the node parameter at the beginning of the function in such a way: if (typeof node !== 'object') return;
screenshot from 2014-11-07 16 07 58

At this point the outline generates correctly the module defined functions, but it also adds some undefined value which I guess derives from the second call of the function, when I return at the beginning
screenshot from 2014-11-07 16 08 12

To try to resolve this I moved the check of the input after the variables initialization, and the output seems correct, even though there's still some spaceo on the left of the functions, which means it still consider the undefined parent
screenshot from 2014-11-07 16 20 30
screenshot from 2014-11-07 16 22 25

openOnStart is string not boolean

Choosing "false" for the "show on startup" option in the general preferences will cause the blueprint to stop working. The reason is because "false" is stored in the preference as a string but on line 334 it is being compared to the boolean false with !==, which of course returns the wrong result.

function names have disappeared

The PHP outline view shows "function($bar)"... but not the NAME of the function...
It should show "function foo($bar)"...

(In 64bit Linux rpm package)

Wrong nesting in html outline

First of all congratulations for the plugin.
It is really necessary for brackets. ๐Ÿ˜„

It looks like that every tag becomes the parent of the following tag regardless of the html markup.

brackets

For example here body shouldn't be nested inside head.

function name

Hi,
I like this minimap, it's keep the scrollbar and is really useful.
One issue, in php, the outline don't give the function name, only args.

minimap empty

After updating to 0.9.1 the minimap is now empty :-(

Won't install on dev version of Brackets

Here's the error message (with my user name scrubbed):

[Extension] failed to load /Users/USER_NAME/Library/Application Support/Brackets/extensions/user/blueprint.outliner Error: Script error for: outliner
http://requirejs.org/docs/errors.html#scripterror ExtensionLoader.js:214
errback ExtensionLoader.js:214
(anonymous function) jquery-2.1.0.min.js:2
j jquery-2.1.0.min.js:2
k.fireWith jquery-2.1.0.min.js:2
e.(anonymous function) jquery-2.1.0.min.js:2
j jquery-2.1.0.min.js:2
k.fireWith jquery-2.1.0.min.js:2
e.(anonymous function) jquery-2.1.0.min.js:2
(anonymous function) require.js:129
(anonymous function) require.js:1155
each require.js:57
Module.emit require.js:1154
(anonymous function) require.js:754
(anonymous function) require.js:129
(anonymous function) require.js:129
(anonymous function) require.js:1155
each require.js:57
Module.emit require.js:1154
(anonymous function) require.js:530
each require.js:57
onError require.js:523
context.onScriptError require.js:1666

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.