1

I'm working on a react-native project. I want to enable the Code Style to add spaces within ES6 import/export brackets.

However, the OK, CANCEL and APPLY buttons on the bottom right do not appear inside the JavaScript code style window. If I got to HTML or certain other languages settings I can see them. Changes do not persist when I make changes.

So, short story even shorter. I can't actually change my code style for JavaScript and save it. Anyone know why?

enter image description here

2
  • 1
    It looks unusually large as for me ... 1) Can you disable Material Theme UI plugin, restart IDE and see if it will make any difference 2) If you resize the Settings screen -- will section with the controls appear again? P.S. In any case -- try setting your desired options here and swithcing to another setting page where controls are visible -- this should work as a possible workaround. Commented Mar 14, 2020 at 10:35
  • Wow that worked, switching to HTML and clicking save. Thank you! Also resizing the window worked :) Feel free to answer and I'll mark it as solved Commented Mar 14, 2020 at 12:49

1 Answer 1

2

First of all, I would suggest to disable Material Theme UI plugin and restart IDE. This plugin modifies GUI bits quite a bit and sometimes causes random issues in different areas that otherwise are not present.

I'm not saying "disable it permanently" but to at very least just to check and confirm if this will make any difference.


In any case, possible workarounds are:

  1. Try resizing the actual Settings window (bottom right corner) -- making it larger should make the section with controls to become visible again.

  2. Try setting your desired options for JavaScript and then switch to another settings page (e.g. HTML or just Code Style) where those controls are visible already.

    "Apply" / "OK" buttons affect all Settings and not just currently visible settings page.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.