cursor icon indicating copy to clipboard operation
cursor copied to clipboard

IDE incorrectly identifies Go files starting with 'inventory' as .ini files

Open mayeter opened this issue 9 months ago • 0 comments

The IDE is incorrectly identifying Go files that start with "inventory" as .ini files (shown by the file icon in the file explorer).

Steps to reproduce:

  1. Create a Go project
  2. Create Go files that start with "inventory" (e.g., inventory_service.go)
  3. Observe that these files are shown with the .ini file icon instead of the Go file icon

Expected behavior:

  • Files with .go extension should be identified as Go files regardless of their name prefix
  • Should show the Go file icon (like other .go files)

Actual behavior:

  • Files starting with "inventory" are shown with the .ini file icon
  • This appears to be a file type association issue in the IDE

Note: The files work correctly and are properly recognized as Go files by the Go toolchain - this appears to be purely a UI issue in Cursor.

Image

mayeter avatar Apr 22 '25 05:04 mayeter