Giter Club home page Giter Club logo

js-map-parser's People

Contributors

chcg avatar megaboich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

js-map-parser's Issues

Function Apply

Hello,
This is not an issue but more of a request or question. I have many unnamed functions which use "apply"...

this.Name = this.Name || { } ;
( function ()
{
     ...
}
).apply ( this.Name || { } );**

Does it make sense and would it be possible to assign "Name" to the name of the function in Javascript Map Parser instead of showing a "?". By the way, great tool.

Thanks.

VS2017 support

Can you please look into enabling this plug-in for VS2017?

Ignores last comma in json

latest version does not show error message when there is comma at the end of json object.

e.g.
{ a: 'abc', b: 'xyz', }

above syntax shows error in previous version but not in current version.

Swears on a binary number

Hello!
The plugin swears on a binary number (for example: 0b01010111).
Error: Unexpected token ILLEGAL.
Thanks!

New update does not show the map correctly

Hello, I just updated, and the left map does not show all the functions in 2015 and community version

Suggestions:

  1. would it be possible to show functions (anonymous vs named) and objects in different colors.
  2. drag and drop sections in the code map to move the code around in source window

Bug In Parsing

Hi,

It is unable to handle code like the code shown below. You get what occurs in the image displayed below

var AceEditorModes = [{ name: "ABAP", id: "abap" }, { name: "ABC", id: "abc" }, { name: "ActionScript", id: "actionscript" }, { name: "ADA", id: "ada" }, { name: "Apache Conf", id: "apache_conf" }, { name: "AsciiDoc", id: "asciidoc" }, { name: "Assembly x86", id: "assembly_x86" }, { name: "AutoHotKey", id: "autohotkey" }, { name: "BatchFile", id: "batchfile" }, { name: "C and C++", id: "c_cpp" }, { name: "C9Search", id: "c9search" }, { name: "Cirru", id: "cirru" }, { name: "Clojure", id: "clojure" }, { name: "Cobol", id: "cobol" }, { name: "CoffeeScript", id: "coffee" }, { name: "ColdFusion", id: "coldfusion" }, { name: "C#", id: "csharp" }, { name: "CSS", id: "css" }, { name: "Curly", id: "curly" }, { name: "D", id: "d" }, { name: "Dart", id: "dart" }, { name: "Diff", id: "diff" }, { name: "Django", id: "django" }, { name: "Dockerfile", id: "dockerfile" }, { name: "Dot", id: "dot" }, { name: "Dummy", id: "dummy" }, { name: "DummySyntax", id: "dummysyntax" }, { name: "Eiffel", id: "eiffel" }, { name: "EJS", id: "ejs" }, { name: "Elixir", id: "elixir" }, { name: "Elm", id: "elm" }, { name: "Erlang", id: "erlang" }, { name: "Forth", id: "forth" }, { name: "FreeMarker", id: "ftl" }, { name: "Gcode", id: "gcode" }, { name: "Gherkin", id: "gherkin" }, { name: "Gitignore", id: "gitignore" }, { name: "Glsl", id: "glsl" }, { name: "Gobstones", id: "gobstones" }, { name: "Go", id: "golang" }, { name: "Groovy", id: "groovy" }, { name: "HAML", id: "haml" }, { name: "Handlebars", id: "handlebars" }, { name: "Haskell", id: "haskell" }, { name: "haXe", id: "haxe" }, { name: "HTML", id: "html" }, { name: "HTML (Elixir)", id: "html_elixir" }, { name: "HTML (Ruby)", id: "html_ruby" }, { name: "INI", id: "ini" }, { name: "Io", id: "io" }, { name: "Jack", id: "jack" }, { name: "Jade", id: "jade" }, { name: "Java", id: "java" }, { name: "JavaScript", id: "javascript" }, { name: "JSON", id: "json" }, { name: "JSONiq", id: "jsoniq" }, { name: "JSP", id: "jsp" }, { name: "JSX", id: "jsx" }, { name: "Julia", id: "julia" }, { name: "LaTeX", id: "latex" }, { name: "Lean", id: "lean" }, { name: "LESS", id: "less" }, { name: "Liquid", id: "liquid" }, { name: "Lisp", id: "lisp" }, { name: "LiveScript", id: "livescript" }, { name: "LogiQL", id: "logiql" }, { name: "LSL", id: "lsl" }, { name: "Lua", id: "lua" }, { name: "LuaPage", id: "luapage" }, { name: "Lucene", id: "lucene" }, { name: "Makefile", id: "makefile" }, { name: "Markdown", id: "markdown" }, { name: "Mask", id: "mask" }, { name: "MATLAB", id: "matlab" }, { name: "Maze", id: "maze" }, { name: "MEL", id: "mel" }, { name: "MUSHCode", id: "mushcode" }, { name: "MySQL", id: "mysql" }, { name: "Nix", id: "nix" }, { name: "NSIS", id: "nsis" }, { name: "Objective-C", id: "objectivec" }, { name: "OCaml", id: "ocaml" }, { name: "Pascal", id: "pascal" }, { name: "Perl", id: "perl" }, { name: "pgSQL", id: "pgsql" }, { name: "PHP", id: "php" }, { name: "Powershell", id: "powershell" }, { name: "Praat", id: "praat" }, { name: "Prolog", id: "prolog" }, { name: "Properties", id: "properties" }, { name: "Protobuf", id: "protobuf" }, { name: "Python", id: "python" }, { name: "R", id: "r" }, { name: "Razor", id: "razor" }, { name: "RDoc", id: "rdoc" }, { name: "RHTML", id: "rhtml" }, { name: "RST", id: "rst" }, { name: "Ruby", id: "ruby" }, { name: "Rust", id: "rust" }, { name: "SASS", id: "sass" }, { name: "SCAD", id: "scad" }, { name: "Scala", id: "scala" }, { name: "Scheme", id: "scheme" }, { name: "SCSS", id: "scss" }, { name: "SH", id: "sh" }, { name: "SJS", id: "sjs" }, { name: "Smarty", id: "smarty" }, { name: "snippets", id: "snippets" }, { name: "Soy Template", id: "soy_template" }, { name: "Space", id: "space" }, { name: "SQL", id: "sql" }, { name: "SQLServer", id: "sqlserver" }, { name: "Stylus", id: "stylus" }, { name: "SVG", id: "svg" }, { name: "Swift", id: "swift" }, { name: "Tcl", id: "tcl" }, { name: "Tex", id: "tex" }, { name: "Text", id: "text" }, { name: "Textile", id: "textile" }, { name: "Toml", id: "toml" }, { name: "Twig", id: "twig" }, { name: "Typescript", id: "typescript" }, { name: "Vala", id: "vala" }, { name: "VBScript", id: "vbscript" }, { name: "Velocity", id: "velocity" }, { name: "Verilog", id: "verilog" }, { name: "VHDL", id: "vhdl" }, { name: "Wollok", id: "wollok" }, { name: "XML", id: "xml" }, { name: "XQuery", id: "xquery" }, { name: "YAML", id: "yaml" }];

Thanks for the great extension

javascript parser bug

ecma6 not supported

i get an error in vs 2015 with the map parser with "=>" in my code in ecma6 javascript

Error reported on Promise related syntax

Hello,

JS Map Parser reports an error on a Promise related syntax.

For example, this code (coming from a TinyMCE example) raises the error "Unexpected token >" on the first line.

const upload_img = (blobInfo, progress) => new Promise((resolve, reject) => {
  /* code here */
});

In case the development of this nice Notepad++ plugin would be active again in the future...

js-map-parser issue with file extentions in VS 2015

After installing through VS2015 > Tools > Extensions and Updates > Search (click and download and install from the web), I've been able to see and use the TreeView pane to navigate around .js and .html files with script tags.

BUT... I have several pages that use a custom script map that are seen by the VS editor as HTML pages, more precisely as Web Editor Forms. All the syntax is color highlighted correctly including the JavaScript code contained within the <script> tags. The file extension were added via Tools > Options > Text Editor > File Extensions > (myFileType for example htmx) > Add.

For some unknown reason this plug-in does not see any of the functions in my files that have non standard filetypes?

Feedback

Have installed this on NotePad++. Excellent, very good work and much better than the built in View / Function List command. However I have three issues:

  1. When I shut down NotePad with the JSMapParser plug-in active, then restart NotePad, MapParser is no longer active. All other plug-ins that are active when NotePad shuts down, are active when it is restarted.
  2. I can see how to change the font size of tagged function names, but there does not seem to be a way to change the font-size of all other non-tagged functions. This is a shame as 8 point is is a little small for my eyes.
  3. I can't figure out how to make the ToDo list show at the bottom of the NetParser window, as per your documentation. I had the same trouble with the NetParser plug-in for Visual Studio 2015

Thanks

XAML Workflow file crashes

Hi, I was using js-map-parser with my sharepoint solution and when I edit a Sharepoint workflow file (xaml) in a string field it crashes my VS 2015. Can you fix it plz ?

Parser finds errors that aren't errors

For MVC cshtml files the following is valid code:
@:<script>
@:$(function () {
@:var myvar = "x";
etc...
@:});
@:</script>

Unfortunately to the parser this is an error as it does not recognize the in-line syntax @:. The only workaround for me is to disable parsing in cshtml files. I have not checked whether <text></text> inline syntax works, but it might. Changing thousands of lines of code to this is not an option anyway.

Hmm looks like disabling cshtml is not an option either. Even when deleted from both config items, it still parses them and shows an error at the top of the file, effectively ignoring the list. (VS restarted)

Unknown exception with JsMapParser.NppPlugin.dll v4.1

Hi,

I'm getting an 'Unknown exception' from Notepad++ (7.2.2) when opening the app, after dropping the JsMapParser.NppPlugin.dll (4.1) into the C:\Program Files (x86)\Notepad++\plugins folder. After the expection message the app starts ok although opening the Plugin manager window crashes the app. Removing the dll from the plugins folder resolves the problem.

Best regards

John

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.