We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue Type: Bug
Given the next module (./utils/setup.mjs file):
/** @module utils/setup */ import { firefox } from 'playwright-firefox' /** * Playwright page object. * @type {import('@playwright/test').Page} */ export let page
And other js file, with import (./utils/setup.mjs):
import { strict as assert } from 'assert' import { page} from './utils/setup.mjs' describe.only('smoke test', () => { it('test', async function () { await page.goto('https://lwhateveruwant.com') ... }) })
Actual: When I pressed CMD + space over goto function, the documentation is "No suggestion."
CMD + space
goto
Expected: show Playwright Page goto function documentation, for example:
jsconfig.json:
{ "compilerOptions": { "module": "esnext", "target": "es6", "checkJs": true, "allowSyntheticDefaultImports": false }, "exclude": [ "node_modules", "target" ], "include": [ "src/test/uat/**/*.mjs" ] }
VS Code version: Code 1.60.0 (e7d7e9a, 2021-09-01T10:54:53.442Z) OS version: Darwin x64 20.6.0 Restricted Mode: No
(4 theme extensions excluded)
The text was updated successfully, but these errors were encountered:
For me its always like that no matter the case. I think it's intended.
Edit: Is shows intellisense suggestions where possible. This means it is intended.
Sorry, something went wrong.
Does it work if you use .js files instead of .mjs? See microsoft/TypeScript#27957
.js
.mjs
If I renamed to .js, then it works fine, thank you!
Thanks for investigation!
mjbvz
No branches or pull requests
Issue Type: Bug
Given the next module (./utils/setup.mjs file):
And other js file, with import (./utils/setup.mjs):
Actual: When I pressed
CMD + space
overgoto
function, the documentation is "No suggestion."Expected: show Playwright Page
goto
function documentation, for example:jsconfig.json:
VS Code version: Code 1.60.0 (e7d7e9a, 2021-09-01T10:54:53.442Z)
OS version: Darwin x64 20.6.0
Restricted Mode: No
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (34)
(4 theme extensions excluded)
The text was updated successfully, but these errors were encountered: