Skip to content

File Associations don't work when file only have extension(_no filename_) #7203

Description

@parallels999

Apache NetBeans version

Apache NetBeans 21

What happened

On php laravel there is .env file, without name, only extension
https://github.com/laravel/laravel/blob/58baff2c70144c7cd4c04eecb51fee5a24e873a8/composer.json#L42
After adding File Association, works on any *.env file, except for the one that has no name, only extension(main one)
image

Language / Project Type / NetBeans Component

PHP project

How to reproduce

Just create any file with new extension but without name, only the extension, add the File Association(I'm using text/x-apache-conf), then File Association does't work on that file

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows

JDK

11

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugBug report or fixneeds:triageRequires attention from one of the committers

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions