Skip to content

Add Fortran Support #72

@ja72

Description

@ja72

Is it as simple as adding the corresponding lines in TextSnapshotTeXCommentBlocks?

public static readonly HashSet<string> SupportedContentTypes = new HashSet<string>() 
{ "CSharp", "F#", "C/C++", "Basic", "Python", "R", "Fortran" };

public static readonly Dictionary<string, string> CommentPrefixPerContentType = new Dictionary<string, string>()
{
    { "CSharp", "//" },
    { "F#", "//" },
    { "C/C++", "//" },
    { "Basic", "'" },
    { "Python", "#" },
    { "R", "#" },
    { "Fortran", "!"},  
};

public static readonly Dictionary<string, string> TeXCommentPrefixPerContentType = new Dictionary<string, string>()
{
    { "CSharp", "//tex:" },
    { "F#", "//tex:" },
    { "C/C++", "//tex:" },
    { "Basic", "'tex:" },
    { "Python", "#tex:" },
    { "R", "#tex:" },
    { "Fortran", "!tex:"},
};

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