question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Disable on big files

See original GitHub issue

Please check

  • I already support this project.
  • If you are submitting a feature request, please do consider donating us on Open Collective Or by AliPay/WeChatPay.
  • This issue/feature request is not reported before.

Your programming language(s)

Ruby, Go, Erlang, JavaScript, Java

Expected Behavior

Overall IDE performance is negatively affected by this plugin when dealing with big files (hundreds of lines).

I would like to configure a threshold of lines so that, when the file I’m editing has more lines than those set on the threshold, then this plugin is automatically disabled for that file.

That way, I can set a threshold that works for my specific environment (memory settings, type of files I open, number of open files, etc).

Current Behavior

The plugin works for every open file, regardless of their size.

Possible Solution

I’m not sure about the specific implementation of this feature, but I think it would require a new configuration option to enable this feature, and another new configuration field to set the threshold.

Code snippet for reproduce (for bugs)

N/A

Your Environment

  • Plugin version: 6.13
  • macOS BigSur 11.1
RubyMine 2020.3
Build #RM-203.5981.152, built on November 30, 2020
Licensed to Guillermo Gutierrez Almazor
Subscription is active until February 20, 2021
Runtime version: 11.0.9+11-b1145.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.16
GC: ParNew, ConcurrentMarkSweep
Memory: 8125M
Cores: 8
Registry: ide.balloon.shadow.size=0, jest.test.tree.use.jasmine.reporter=false
Non-Bundled Plugins: com.4lex4.intellij.solarized, com.github.mturlo.intellij.theme.spacegray, com.samdark.intellij-visual-studio-code-dark-plus, com.thvardhan.gradianto, NodeJS, org.jetbrains.plugins.vue, com.dmarcotte.handlebars, izhangzhihao.rainbow.brackets, ru.adelf.idea.dotenv

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
macdja38commented, Mar 1, 2021

Would it be possible to specify the Line-cutoff instead of a Hardcoded 1000 Limit?

So, what might be your suggestion exactly

Different devices will likely have different acceptable thresholds. My old laptop I might set a very small threshold on while on my Desktop at home tens of thousands of lines might be fine.

2reactions
izhangzhihaocommented, Feb 11, 2021

Would it be possible to specify the Line-cutoff instead of a Hardcoded 1000 Limit?

So, what might be your suggestion exactly

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable more editor features for large files #64095 - GitHub
Open a javascript file that triggers largeFileOptimization . Bug Tokenization is disabled but many other editor features are not. I think we ...
Read more >
[Feature request] Enable/Disable folder pairs within the active ...
Dear FFS community, I'm a regular user of FFS. And I regularly face some (very...) long folder synchronizations, when I (temporarily) am on ......
Read more >
How to prevent Python Requests from switching to multipart ...
Is there a way to disable that feature to revert to a plain HTTP upload? FWIW, the file is way too large to...
Read more >
Feature request: Disable embedded subtitles - Emby
This request - disabling the display of embedded subtitles when the list is displayed - has come up a couple times, such as...
Read more >
Git Large File Storage (LFS) - GitLab Docs
If you are storing LFS files outside of GitLab you can disable LFS on the project by setting lfs_enabled: false with the projects...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found