Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/changes/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ nav_order: 9

# Changes

* [4.11.0](changes_4.11.0.md) unreleased
* [4.12.0](changes_4.12.0.md) unreleased
* [4.11.0](changes_4.11.0.md)
* [4.10.0](changes_4.10.0.md)
* [4.9.0](changes_4.9.0.md)
* [4.8.0](changes_4.8.0.md)
Expand Down
11 changes: 11 additions & 0 deletions doc/changes/changes_4.12.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# OpenFastTrace 4.12.0, released 2026-??-??

Code name: JSX and TSX tag importer

## Summary

The source tag importer now supports JSX (`.jsx`) and TSX (`.tsx`) source files, the file types of React components written in JavaScript and TypeScript.

## Features

* #647: Add support for JSX and TSX in the source tag importer
4 changes: 2 additions & 2 deletions doc/user_guide/reference/input_format_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ recognized file types:
* [Go](https://golang.org/) (`.go`)
* Groovy (`.groovy`)
* Java (`.java`, `.fxml`)
* JavaScript (`.js`, `.ejs`, `.cjs`, `.mjs`)
* JavaScript (`.js`, `.jsx`, `.ejs`, `.cjs`, `.mjs`)
* Kotlin (`.kt`, `.kts`)
* Lua (`.lua`)
* Objective C (`.m`, `.mm`)
Expand All @@ -106,7 +106,7 @@ recognized file types:
* Shell programming (`.sh`, `.bash`, `.zsh`)
* Swift (`.swift`)
* Terraform (`.tf`, `.tfvars`)
* TypeScript (`.ts`)
* TypeScript (`.ts`, `.tsx`)
* Visual Basic (`.vb`)
* Windows batch files (`.bat`)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public class TagImporterFactory extends AbstractImporterFactory
"json", "htm", "html", "xhtml", "xml", "yaml", "yml", // markup languages
"fxml", "java", // Java
"clj", "kt", "kts", "scala", // JVM languages
"js", "mjs", "cjs", "ejs", // JavaScript
"ts", // TypeScript
"js", "jsx", "mjs", "cjs", "ejs", // JavaScript
"ts", "tsx", // TypeScript
"lua", // Lua
"m", "mm", // Objective C
"php", // PHP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ protected List<String> getSupportedFilenames()
"foo.bat", "foo.java", "foo.c", "foo.C", "foo.c++", "foo.c#", "foo.cc", "foo.cfg",
"foo.conf", "foo.cpp", "foo.dox", "foo.cs", "foo.fxml", "foo.go",
"foo.groovy", "foo.h", "foo.H", "foo.hh", "foo.h++",
"foo.htm", "foo.html", "foo.ini", "foo.js", "foo.kt", "foo.kts", "foo.mjs", "foo.cjs", "foo.ejs",
"foo.ts", "foo.json",
"foo.htm", "foo.html", "foo.ini", "foo.js", "foo.jsx", "foo.kt", "foo.kts", "foo.mjs", "foo.cjs",
"foo.ejs", "foo.ts", "foo.tsx", "foo.json",
"foo.lua", "foo.m", "foo.mm", "foo.php", "foo.pl", "foo.pls", "foo.pm", "foo.proto", "foo.py",
"foo.sql", "foo.r",
"foo.rs", "foo.sh", "foo.sv", "foo.v", "foo.inc", "foo.yaml", "foo.yml", "foo.xhtml", "foo.xml",
Expand Down
8 changes: 8 additions & 0 deletions product/src/test/resources/example/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,11 @@ Needs: src
## Visual Basic
`req~vb-source~1`
Needs: src

## JSX
`req~jsx-source~1`
Needs: src

## TSX
`req~tsx-source~1`
Needs: src
1 change: 1 addition & 0 deletions product/src/test/resources/example/src/test.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// [src->req~jsx-source~1]
1 change: 1 addition & 0 deletions product/src/test/resources/example/src/test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// [src->req~tsx-source~1]
Loading