Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throws errors in a JSX file #26

Open
mitchellsimoens opened this issue Jul 11, 2016 · 6 comments
Open

Throws errors in a JSX file #26

mitchellsimoens opened this issue Jul 11, 2016 · 6 comments

Comments

@mitchellsimoens
Copy link

When programming in a .jsx file, if I have this code:

'use strict';

let foo = (

);

Everything is fine. However, as soon as I type < within the parenthesis an error is thrown:

jsMode.expressionAllowed is not a function

If I disable only this jade extension, everything is back to working.

For clarity, this is what I try to type:

'use strict';

let foo = (
    <
);

Notice the < difference with the working code above.

Current brackets version (should be latest downloadable from brackets.io):

Release 1.7 build 1.7.0-16898 (release b0a363b71)

@frasergr
Copy link

Experiencing the same issue here.

Windows 10.0.14393 Build 14393

Brackets Release 1.7 build 1.7.0-16898 (release b0a363b71)

@DaddyWarbucks
Copy link

I am having similar issues. I cannot jet a .jsx file to display at all actually. (latest version of Brackets running on Ubuntu)

@itacode
Copy link

itacode commented Sep 29, 2016

I cannot open .jsx files when the character < is present into them.
Also when I digit the character < in new .jsx files, the editor window content disappears.
(latest version of Brackets running on Windows 10 1511)

@boybundit
Copy link

The same issue still occurs in Release 1.8 build 1.8.0-17108.

@zaggino
Copy link

zaggino commented Mar 1, 2017

This file is to blame for this: https://github.com/ForbesLindesay/jade-brackets/blob/master/lib/overlay.js , it overrides default CodeMirror code here https://github.com/ForbesLindesay/jade-brackets/blob/master/lib/overlay.js#L6 so I'd advise against using this extension with Brackets

@zaggino
Copy link

zaggino commented Mar 1, 2017

adobe/brackets#13131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants