Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
jucipp
jucipp
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 38
    • Issues 38
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cppit
  • jucippjucipp
  • Issues
  • #443

Closed
Open
Created Jan 28, 2021 by Julien VERNAY@J-Vernay

Better EntryBox to run command

Hello! First, thanks for this great C++ IDE :)

One key feature of a GNU/Linux IDE is to allow running shell commands in a terminal. It is possible in Juci++ to run commands via the entry-box using the shortcut Alt+Enter. However, it becomes a chore when multiple consecutive commands are needed to be entered. In traditional terminals and IDE that implements a proper terminal (examples: gedit, VS Code), we only need to press "Enter" to run the command and directly start typing the next command. In juci++, we need "Enter" then "Alt+Enter" then "Backspace". Personally, to work around this, I kept a terminal window opened. However, window switching is not practical.

I propose to change the entrybox behavior, by keeping it open when we run a command. I have found how to do it in code, however I am not proficient with GitLab flow, I didn't find how to propose a merge request. The required modification is in src/window.cpp line 1397:

- EntryBox::get().hide();
+ EntryBox::get().entries.front().set_text("");

This modification keeps a coherent command history and makes running command smoother.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking