Felix Kling

Results 187 comments of Felix Kling

I think this would be pretty easy to do with CodeMirror.

I guess that's up to you. I also wondered about that. On the other hand, it's kind of nice that inter note links are different from Markdown links.

FWIW, this is the implementation I use in jscodeshift: https://github.com/facebook/jscodeshift/blob/v0.3.8/src/collections/VariableDeclarator.js#L74-L102

Even though jscodeshift lets you choose Typescript as parser, under the hood it still uses recast (or at least it did when I worked on it). Try selecting recast instead...

I'm sorry, I'm not able to reproduce this but I also don't have Windows available. I can clone and build the repo just fine on Linux. Hopefully someone else will...

That's an unfortunate side effect of how astexplorer is implemented at the moment. You are using babel as transformer, but *that* babel is not configured to use typescript and therefore...

Mmh. My hunch is that the babylon 7 parser or its settings aren't passed correctly to recast. I will have to investigate this locally. Thank you for reporting! (Also thank...

@yarian: I think when I looked at it it seems that recast isn't taking any external options at all. However, when I try it now it seems to parse correctly....

The more languages the better 😃 Eventually I want astexplorer to support server side languages (and actually run on them on server). I haven't thought to much about it yet...

> this is the parser I have selected in the ASTExplorer UI, but I don't quite know if that feeds or is configured directly with the transformer. That's exactly the...