Skip to content
New issue

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

Import code snippets from files without extension or symlinks is not working #1617

Closed
3 tasks done
fessacchiotto opened this issue Nov 16, 2022 · 1 comment
Closed
3 tasks done
Assignees
Labels
bug Something isn't working build Related to the build system

Comments

@fessacchiotto
Copy link

Describe the bug

Import code snippets from files without extension or symlinks is not working.
The incorrect output is:

Invalid code snippet option

Reproduction

This one doesn't work if nginx.conf is a symlink (mac os ventura)
<<< @/nginx/nginx.conf{nginx}

This one doesnt work because an extension is missing (?)
<<< @/nginx/q-track{nginx}

Expected behavior

We should see the content of the imported file.

System Info

System:
    OS: macOS 13.0.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 334.27 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 16.18.1 - ~/.nvm/versions/node/v16.18.1/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v16.18.1/bin/npm
  Browsers:
    Brave Browser: 98.1.35.101
    Chrome: 107.0.5304.110
    Firefox: 97.0
    Safari: 16.1

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@fessacchiotto fessacchiotto added the bug: pending triage Maybe a bug, waiting for confirmation label Nov 16, 2022
@brc-dd brc-dd added bug Something isn't working build Related to the build system and removed bug: pending triage Maybe a bug, waiting for confirmation labels Nov 27, 2022
@dukexie
Copy link

dukexie commented Jul 16, 2023

<<< @/.vscode/scss.code-snippets

Invalid code snippet option

@github-actions github-actions bot added the stale label Sep 16, 2023
@brc-dd brc-dd self-assigned this Sep 16, 2023
@brc-dd brc-dd removed the stale label Sep 16, 2023
@brc-dd brc-dd closed this as completed in e6c0afa Sep 16, 2023
brc-dd added a commit that referenced this issue Sep 17, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working build Related to the build system
Projects
None yet
Development

No branches or pull requests

3 participants