Skip to content

Executable scripts with shebang line are not recognised as Python files #134

@dejlek

Description

@dejlek

Description
As the title says. IDE does not treat files with shebang (and no .py extension) the same as "regular" Python files.

Steps to reproduce the behavior:

  1. outside the IDE make a new file in your project named shtool
  2. Add a shebang line and a simple print("hello") line
  3. Save

Expected behavior
IDE should highlight and autocomplete as you edit the file.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Linux/Fedora
  • JDK Version 24
  • Python version 3.11.13
  • Netbeans Version: 27
  • Python Plugin Version: 1.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions