Git Product home page Git Product logo

Comments (8)

smittytone avatar smittytone commented on July 3, 2024 2

I’m considering doing that since I guess most folks using PreviewCode (including me) will be using .ts for TypeScript files rather that transport stream video files.

from previewcode.

smittytone avatar smittytone commented on July 3, 2024 1

I can look into adding those. Dockerfiles are already on the roadmap.

from previewcode.

mrhammadasif avatar mrhammadasif commented on July 3, 2024 1

Most common file extension for TypeScript is .ts. Also, need support for .vue extension

from previewcode.

smittytone avatar smittytone commented on July 3, 2024 1

Update: preliminary .vue support coming in the next release, along with .gml (GameMaker Language) and some Xcode-specific file types.

Support for the Go .mod, .sum and .work files will appear in the next release of PreviewText, which is free.

Actively researching solutions to the .ts issue, but a solution may not make it to the next release.

from previewcode.

smittytone avatar smittytone commented on July 3, 2024

As it says in the Read Me, PreviewCode doesn’t support TypeScript .ts files because the .ts file extension is a standard for transport stream video files. The workaround is to use .tsx for TypeScript files.

But I can look at adding .vue support. I take it you mean .vue for View.js?

from previewcode.

mrhammadasif avatar mrhammadasif commented on July 3, 2024

But I can look at adding .vue support. I take it you mean .vue for View.js?

Actually, it means Vue.js https://vuejs.org/. For reference, you can have a look at following packages:

from previewcode.

SoKamil avatar SoKamil commented on July 3, 2024

As it says in the Read Me, PreviewCode doesn’t support TypeScript .ts files because the .ts file extension is a standard for transport stream video files. The workaround is to use .tsx for TypeScript files.

But I can look at adding .vue support. I take it you mean .vue for View.js?

Can't this behavior for .ts be overridden?

from previewcode.

oderwat avatar oderwat commented on July 3, 2024

Even if they have both, can't you open it and if it is not text, show a message, explaining what happened?

from previewcode.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.