Code Monkey home page Code Monkey logo

Comments (4)

AlexeyDmitriev avatar AlexeyDmitriev commented on July 29, 2024

The editor automatically switches when some run configuration is chosen. (and vice versa when you open some file correct run configuration is chosen). Are you proposing to disable this behaviour completely?

PS: I don't quite get while it's distracting because when you delete configuration, the file gets deleted as well, so some other will be focused anyway

from jhelper.

GoBigorGoHome avatar GoBigorGoHome commented on July 29, 2024

Tasks are listed chronologically i.e. the latest added task is the last one in the list. Usually, the first tasks in the list are not the ones one is working on and not opened in the editor. It is not resonable to switch focus to the first task in the list and open it in editor if it is not opened at the time.
task-list

from jhelper.

GoBigorGoHome avatar GoBigorGoHome commented on July 29, 2024

PS: I don't quite get while it's distracting because when you delete configuration, the file gets deleted as well, so some other will be focused anyway

But it is not resonable to switch to the first task in the list. An alternative is to switch

  1. to any task open in editor, or
  2. to the last task in the list if no task is open in editor, or
  3. to Build All if task list is empty.

from jhelper.

AlexeyDmitriev avatar AlexeyDmitriev commented on July 29, 2024

I think it depends on the use case.
As for me (person who almost never have tasks for upsolving after the next context), what happens quite often:
I just created task for a new problem and I see that there's number of problems I no longer care about, so I want to remove them all. In that case for me your suggestion will make things only harder (probably only open file as well as the last task) is one I care about, so I will need to choose the task to delete each time.

Also I don't really like any complex logic there.

One option to proceed I see is to choose next configuration in the list -- it will work for deletion AND will less likely open old problem you don't care about.
Also one option is to temporarily disable files auto-opening but I don't think it's a good idea (1. it's a dependency of two currently independent subsystem, 2. it makes harder opening the correct file if you want it)

from jhelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.