Skip to content

app/javascript/controllers/menu_controller.js not recognized as stimulus controller #396

@wdiechmann

Description

@wdiechmann

in views/calendars/show.html.erb my VS Code

Version: 1.93.1 (Universal)
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.6.0

with Stimulus LSP v1.0.4 reports data-controller="menu" as

"menu" isn't a valid Stimulus controller. Did you mean "tabs"?

even though a javascript/controllers/menu_controller.js do exist

is this expected (perhaps because 'menu' is reserved word or something) or is this an anomali ?

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