cursor
cursor copied to clipboard
IDE incorrectly identifies Go files starting with 'inventory' as .ini files
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:
- Create a Go project
- Create Go files that start with "inventory" (e.g., inventory_service.go)
- 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.