salt42 / blueprint Goto Github PK
View Code? Open in Web Editor NEWHierarchic outline view and code minimap extension for brackets
License: MIT License
Hierarchic outline view and code minimap extension for brackets
License: MIT License
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
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.
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"
An outline view of a JSON file would be a welcome enhancement.
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.
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.
Couldn't install. Process stops, failure message.
exp.prototype['break'] = function () { };
can't get name from [] syntax
Blueprint con't parse python - here's the error console output:
Deprecated: Do not use
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
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
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...
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
If not, is there a recommended replacement?
If i change to a HTML-File that contains a HTML-Tag and after the HTML-closetag a new Tag (like a Scripttag) starts, the Outline didn't refresh.
I think that inline javascript and css inside html files should
also be outlined as child of script and style tag accordingly.
HellO! Can you add ability to outline structure of php?
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.
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.
This would be handy.
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):
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;
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
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
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.
How do I use this ?
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)
I have a large XML file that is crashing brackets when opened with this extension installed.
I've uploaded the file here for testing: https://gist.github.com/ricick/44706fb109cffc753d5c
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.
After updating to 0.9.1 the minimap is now empty :-(
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.