Skip to content

Bash Editor not chosen to open file unless file has ext .sh on Linux #288

Description

@mcooper7290

I've been using Bash Editor in Eclipse on Windows for a while now. Most of my bash scripts have no file extension at all. When I open these files Bash Editor is chosen by Eclipse by default as I expect. When I open the same files in Eclipse on RHEL 10.1 and Ubuntu 24.04 it defaults to Text Editor and prompts to find a marketplace extension.

Based on this behavior it seems Eclipse on Windows correctly sees the first line "#!/bin/bash" in these files and triggers Bash Editor. This bizarrely doesn't work on RHEL/Ubuntu... Eclipse opens using default Text Editor and prompts for marketplace search.

Multiple systems have the same issue: RHEL 10.1 and Ubuntu 24.04.

Eclipse versions: 2025-12 and 2026-03 (haven't tried any others).

Bash Editor version is 2.10.0 in all test cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions