Code Monkey home page Code Monkey logo

Comments (8)

jbaron avatar jbaron commented on August 29, 2024

Had a quick look and should not be too hard to add support since CATS
already uses the TS version that supports JSX.

Still to be done:

  1. When scanning for files also scan for .tsx extensions.
  2. Add the option to enable TSX (in the compiler options sections)

On Mon, Nov 2, 2015 at 6:50 PM, xmehaut [email protected] wrote:

Hello,

cats is a very nice typescipt iDE. Unfortunately I deelop with react and I
need to use TSX ... Is it planned to add this in CATS?

regards


Reply to this email directly or view it on GitHub
#157.

from cats.

xmehaut avatar xmehaut commented on August 29, 2024

thanks :)

do you already take into account tsconfig.json otherwise? and if so, with
automatic filling each time a new file is added , removed or moved?

2015-11-03 14:07 GMT+01:00 Peter [email protected]:

Had a quick look and should not be too hard to add support since CATS
already uses the TS version that supports JSX.

Still to be done:

  1. When scanning for files also scan for .tsx extensions.
  2. Add the option to enable TSX (in the compiler options sections)

On Mon, Nov 2, 2015 at 6:50 PM, xmehaut [email protected] wrote:

Hello,

cats is a very nice typescipt iDE. Unfortunately I deelop with react and
I
need to use TSX ... Is it planned to add this in CATS?

regards


Reply to this email directly or view it on GitHub
#157.


Reply to this email directly or view it on GitHub
#157 (comment).

from cats.

jbaron avatar jbaron commented on August 29, 2024

Right now CATS uses its own config file. It pre-dates the tsconfig file but
is very simular in structure and layout. It alos has a GUI to configure it.
I would like to move the tsconfig file but a lot is missing that is
requried for CATS. So either I have to extend it or have two config files.

On Tue, Nov 3, 2015 at 2:10 PM, xmehaut [email protected] wrote:

thanks :)

do you already take into account tsconfig.json otherwise? and if so, with
automatic filling each time a new file is added , removed or moved?

2015-11-03 14:07 GMT+01:00 Peter [email protected]:

Had a quick look and should not be too hard to add support since CATS
already uses the TS version that supports JSX.

Still to be done:

  1. When scanning for files also scan for .tsx extensions.
  2. Add the option to enable TSX (in the compiler options sections)

On Mon, Nov 2, 2015 at 6:50 PM, xmehaut [email protected]
wrote:

Hello,

cats is a very nice typescipt iDE. Unfortunately I deelop with react
and
I
need to use TSX ... Is it planned to add this in CATS?

regards


Reply to this email directly or view it on GitHub
#157.


Reply to this email directly or view it on GitHub
#157 (comment).


Reply to this email directly or view it on GitHub
#157 (comment).

from cats.

xmehaut avatar xmehaut commented on August 29, 2024

yes , two files would be right, the CATS's one being specific to CATS

2015-11-03 15:06 GMT+01:00 Peter [email protected]:

Right now CATS uses its own config file. It pre-dates the tsconfig file but
is very simular in structure and layout. It alos has a GUI to configure it.
I would like to move the tsconfig file but a lot is missing that is
requried for CATS. So either I have to extend it or have two config files.

On Tue, Nov 3, 2015 at 2:10 PM, xmehaut [email protected] wrote:

thanks :)

do you already take into account tsconfig.json otherwise? and if so, with
automatic filling each time a new file is added , removed or moved?

2015-11-03 14:07 GMT+01:00 Peter [email protected]:

Had a quick look and should not be too hard to add support since CATS
already uses the TS version that supports JSX.

Still to be done:

  1. When scanning for files also scan for .tsx extensions.
  2. Add the option to enable TSX (in the compiler options sections)

On Mon, Nov 2, 2015 at 6:50 PM, xmehaut [email protected]
wrote:

Hello,

cats is a very nice typescipt iDE. Unfortunately I deelop with react
and
I
need to use TSX ... Is it planned to add this in CATS?

regards


Reply to this email directly or view it on GitHub
#157.


Reply to this email directly or view it on GitHub
#157 (comment).


Reply to this email directly or view it on GitHub
#157 (comment).


Reply to this email directly or view it on GitHub
#157 (comment).

from cats.

dtrillo avatar dtrillo commented on August 29, 2024

I don't see any problem in having two config files!

from cats.

jbaron avatar jbaron commented on August 29, 2024

Added some support for TSX. Now it should recognise files with TSX extension as "TypeScript" files. Unfortunately the editor (ACE) doesn't have a mode yet for it. So the default text editor will be started.

from cats.

jbaron avatar jbaron commented on August 29, 2024

Now also:

  • Updated Ace and fixed so it recognises tax file and applies the TS mode.
  • You can set the compilation target for TSX from within CATS (in case you don't use external build tools)

So full TSX support in place,

from cats.

xmehaut avatar xmehaut commented on August 29, 2024

Thanks !

2016-01-18 13:51 GMT+01:00 Peter [email protected]:

Now also:

  • Updated Ace and fixed so it recognises tax file and applies the TS
    mode.
  • You can set the compilation target for TSX from within CATS (in case
    you don't use external build tools)

So full TSX support in place,


Reply to this email directly or view it on GitHub
#157 (comment).

from cats.

Related Issues (20)

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.