Skip to content

PPM init's generated package links to outdated/non-existent documentation #163

@Purple-Fox-Coder

Description

@Purple-Fox-Coder

Thanks in advance for your bug report!

  • Have you reproduced issue in safe mode?
  • Have you used the debugging guide to try to resolve the issue?
  • Have you checked our FAQs to make sure your question isn't answered there?
  • Have you checked to make sure your issue does not already exist?
  • Have you checked you are on the latest release of Pulsar?

What happened?

Specifically for ppm init -l <name> (I have not tested the other package generation types)

the grammars/.cson contains links to outdated Atom documentation
see:

# If this is your first time writing a language grammar, check out:
#   - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/

(it also generates old.. what I guess are textMate grammars)

It may be better to link to the current pulsar docs instead;
https://docs.pulsar-edit.dev/developing-for-pulsar/creating-a-grammar-textmate/
https://docs.pulsar-edit.dev/developing-for-pulsar/creating-a-grammar-legacy-tree-sitter/
https://docs.pulsar-edit.dev/developing-for-pulsar/creating-a-grammar-modern-tree-sitter/

Pulsar version

pulsar: 1.129.0 ppm: 2.7.0

Which OS does this happen on?

❓ Other(Please specify in the OS details field below)

OS details

NixOS

Which CPU architecture are you running this on?

x86_64/AMD64

What steps are needed to reproduce this?

  1. use ppm init -l someName
  2. check grammars/someName.cson in the generated output (top 2 lines)

Additional Information:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions