Skip to content

VSCode: Opening up protein fasta files is really inconsistent #66

Open

Description

@KeaunAmani

Opening up a fasta file in vscode with the fasta-taylor language mode results in this at start:
image

But then after switching in and out of the tab I get this:
image

Both cases seem to be bugged as in the first case you have the letter highlighting instead of changing the text color. The highlighting is annoying as it makes selecting text unnecessarily difficult. Furthermore, the second screenshot there's no text coloring at all which is unfortunate.

I looked through the extension settings but didn't see anything useful.

Activity

  1. liyao001 commented on Apr 1, 2023

    @liyao001
    Contributor

    This looks weird. Can you post the entire file here (including the extension name)? I can take a look at this later.

  2. KeaunAmani commented on Apr 1, 2023

    @KeaunAmani
    Author

    @liyao001 It seems to happen with all files that end with the .fasta extension, including this one I just downloaded from the pdb:
    image

    Note that I added the .txt extension just for uploading to github, but I opened the file as rcsb_pdb_7N0R.fasta
    rcsb_pdb_7N0R.fasta.txt

  3. liyao001 commented on Apr 2, 2023

    @liyao001
    Contributor

    This issue happens because the plugin is confused about whether the sequences are for DNA or protein. I'll think about possible ways to fix this. Let's keep this issue open for now.

  4. KeaunAmani commented on Apr 4, 2023

    @KeaunAmani
    Author

    Yeah sounds good. I think this is a pretty solid plugin, it's just a tad unfortunate that the fasta parsing isn't quite usable yet.

  5. ababaian commented on Apr 5, 2023

    @ababaian
    Member

    can you rename your fast file extension to .faa and try again?

  6. KeaunAmani commented on Apr 5, 2023

    @KeaunAmani
    Author

    @ababaian it just looks like this
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions