Skip to content

Completely unusable on macOS 12.6 in larger project #1460

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

Closed
3 tasks done
Frisch12 opened this issue Sep 18, 2022 · 1 comment
Closed
3 tasks done

Completely unusable on macOS 12.6 in larger project #1460

Frisch12 opened this issue Sep 18, 2022 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@Frisch12
Copy link

Frisch12 commented Sep 18, 2022

Describe the problem

The IDE is completely unusable on macOS 12.6 when opening larger projects, with larger files (e.g. https://github.com/justcallmekoko/ESP32Marauder)

To reproduce

Open https://github.com/justcallmekoko/ESP32Marauder/tree/master/esp32_marauder

Expected behavior

IDE should respond quickly on inputs

Arduino IDE version

2.0.0

Operating system

macOS

Operating system version

12.6 (on M1 Max)

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@Frisch12 Frisch12 added the type: imperfection Perceived defect in any part of project label Sep 18, 2022
@per1234
Copy link
Contributor

per1234 commented Sep 18, 2022

Hi @Frisch12. This bug is being tracked here: #1343

I'm happy to tell you that a fix is already in progress: #1450

You can easily apply that fix immediately in your Arduino IDE by a simple adjustment to the IDE's advanced settings. I'll provide instructions:

  1. If you still have the problematic "esp32_marauder" sketch open in the Arduino IDE, select File > New from the IDE's menus and then close the window with the "esp32_marauder" sketch open.
  2. Open the "Command Palette" via the Ctrl+Shift+P shortcut (Command+Shift+P for macOS users).
  3. Select the "Preferences: Open Settings (UI)" command from the "Command Palette".
    This will open the "Preferences" tab in the IDE.
  4. In the "Search Settings" field, type editor.maxTokenizationLineLength
  5. Change the value of the "Editor: Max Tokenization Line Length" setting from the default 20000 to 500
  6. Close the "Preferences" tab by clicking its X icon.

You should now be able to open the "esp32_marauder" sketch again without experiencing those performance problems.


It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2022
@per1234 per1234 self-assigned this Sep 18, 2022
@per1234 per1234 added conclusion: duplicate Has already been submitted topic: code Related to content of the project itself labels Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants