Daniel Friesen
Daniel Friesen
I think the implemented result should probably be a fusion of both. #26 works implicitly and with multiple variables. However it fails if exports are not defined in-file. And it...
Note that what we could implement inside NodeRequirer would be fairly limited without being too complex. The ideal would be to have a node based cli command that can move...
I actually think this idea should get a -1, as far as implementing it by letting custom templates be made. @megawac's use case would be best supported by a preference...
> Another use case is this could add support for System.js and maybe even AMD What would System.js imports look for NodeRequire? AMD also doesn't look like snippets could help....
I submitted #24 for @megawac's let use case.
Strange, it already has code to strip `//` comments. Try testing 2 things for me: - Does it happen when there is only one comment? - Try deleting the comments,...
It does indeed seem possible to do this. Here's an initial experiment: ``` python class NodeRequirerListener(sublime_plugin.EventListener): def on_post_text_command(self, view, command_name, args): if command_name not in ('commit_completion', 'insert_best_completion'): return cursor =...
_(Testing on osx)_ `ntpath.normpath` (`os.path` on Windows) converts \ -> / and `posixpath` does not do the reverse. I'm not sure what `os.path.normpath` would fix. That's what I'd use to...
This seems to be because `parent.id` is `undefined` in this situation.
@streamich Yes, DOM nodes would be detached with removeChild if the reparent tree is not rendered, and re-inserted later with appendChild/insertChild when added back. If one of the children of...