Comments (2)
@ioanasv I think if user selects a commit, they want to see refactorings quickly, and don't want to wait for the queue to process other previously selected commits. Maybe on selection processing of the previous commits could be cancelled, and processing of the new one should start immediately? IntelliJ IDEA does a similar thing for changes in the changes browser, and it works pretty well. However, it requires processing of the selected commit to be cancellable.
If the process of mining refactorings is not cancellable, then maybe a stack with a limited size would fit. This way the newest commits would be processed right away, and the oldest commits would be dismissed if the stack would be too big.
from refactorinsight.
Hello Julia, thank you! This is indeed an issue when there are many commits that are mined at the same time. We were thinking to keep mining them but in a smarter way so that it does not freeze the ui: using a pool and when there are already commits that are mined there, add the job to the pool and wait for others to finish in order to mine the new one. This is done somehow using a queue for the commits that are waiting to be mined. What do you think about it? At the same time, if the user clicks on many commits, usually she/he will not go back to those first commits in the list, so this queueing might not be helpful all the time.
from refactorinsight.
Related Issues (20)
- refactorings.xml is not part of .idea/.gitignore HOT 3
- SIOOBE: TextUtils.functionSimpleName HOT 1
- IE: FS$FileStoreAttributes.getFileStoreAttributes
- Add logging
- The offsets of added parameters are wrong in some cases (not always) HOT 7
- Change Variable Type: diff doesn't highlight changed type HOT 5
- Line alignment makes hard to understand Extract Variable refactoring HOT 5
- Make refactoring names more intuitive HOT 7
- Kotlin changes are treated like Java code HOT 6
- NPE: Cannot invoke "java.util.List.stream()" because "this.lines" is null
- NPE: Cannot invoke "Object.getClass()" because "virtualFile" is null
- Plugin's column doesn't appear in the Log tab anymore HOT 1
- "Mine all refactorings" action is not available HOT 1
- "Hide non-functional changes" should hide changes from the original file too HOT 1
- Improve discoverability of "Show refactorings" feature
- Incorrect visualization of Extract Class and Extract Interface refactoring
- Show 'Files' menu in commit changes panel doesn't fit the color scheme HOT 1
- Commit Message generation based on detected refactorings HOT 1
- Idea: Integrate with Github PR reviews
- Please support in the latest version 2024.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from refactorinsight.