Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TDS RW5 Syntax HighlighterNew to Visual Studio Code? Get it now.
TDS RW5 Syntax Highlighter

TDS RW5 Syntax Highlighter

Rook-Survey-Tools

|
3 installs
| (0) | Free
Syntax highlighting and tooltips for Tripod Data Systems RW5 raw data files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TDS RW5 Syntax Highlighter

A Visual Studio Code extension that provides syntax highlighting and tooltips for Tripod Data Systems (TDS) RW5 raw survey data files.

Features

Syntax Highlighting

  • Color-coded record types - Each record type is highlighted with a unique color based on its category:
    • General records (JB, MO) - Job and mode setup
    • Conventional records (OC, BK, SS, TR, etc.) - Total station survey data
    • GPS records (EP, BP, GS, etc.) - GPS survey data
    • Legacy records (AA, BB, HC, etc.) - Deprecated record types
    • Comments (--) - User notes and comments

Hover Tooltips

Hover over any line to see:

  • Record name - Full name of the record type
  • Category - Whether it's General, Conventional, GPS, or Legacy
  • Description - What the record type is used for
  • Common fields - List of typical fields in the record

Supported Record Types

General Records

  • JB - Job Record
  • MO - Mode Setup Record
  • -- - Comment/Note

Conventional Records (Total Station)

  • OC - Occupy Point Record
  • BK - Backsight Record
  • SS - Sideshot Record
  • TR - Traverse Record
  • SP - Store Point Record
  • LS - Line of Sight Record
  • And many more...

GPS Records

  • EP - Geodetic Position
  • BP - Base Position
  • GS - GPS Store Point
  • CS - Coordinate System
  • ES - Ellipsoid Record
  • DT - Datum Record
  • And many more...

Installation

From Source

  1. Clone or download this repository
  2. Open the folder in Visual Studio Code
  3. Run npm install to install dependencies
  4. Run npm run compile to compile TypeScript
  5. Press F5 to launch Extension Development Host
  6. Open any .rw5 file to test the extension

Package and Install

  1. Install vsce: npm install -g @vscode/vsce
  2. Package the extension: vsce package
  3. Install the .vsix file: code --install-extension tds-rw5-syntax-1.0.0.vsix

Usage

  1. Open any file with .rw5 extension
  2. The file will automatically be recognized and syntax highlighting will be applied
  3. Hover over any line to see information about that record type

Example File Structure

JB,NM231121_2004148007_TO_MWM,DT11-21-2023,TM07:49:03
MO,AD0,UN2,SF1.0,EC1,EO0.0,AU0
--Converted from v2022.10.19 to v2023.00.12
OC,OPJMT104,N 652259.548,E 1241021.767,EL370.888,--TRAV
BK,OPJMT104,BPJMT107,BS116.19324,BC0.00000
LS,HI5.2200,HR5.0500
SS,OPJMT104,FPJMT107,AR0.00000,ZE89.43371,SD132.862,--TRAV

File Format

RW5 files are comma-delimited ASCII text files where:

  • Each line starts with a 2-letter record type code
  • Fields are separated by commas
  • Lines beginning with -- are comments
  • Field headers follow the format: XX,FIELD1value,FIELD2value,...

Requirements

  • Visual Studio Code version 1.75.0 or higher

Release Notes

1.0.0

  • Initial release
  • Syntax highlighting for all TDS RW5 record types
  • Hover tooltips with record descriptions
  • Support for General, Conventional, GPS, and Legacy records
  • Comment highlighting

Contributing

If you find issues or have suggestions:

  1. Check existing issues on the repository
  2. Submit a new issue with details about the problem or enhancement
  3. Pull requests are welcome!

License

[Specify your license here]

References

  • Based on TDS Raw Data Record Specification, Survey Pro™ Version 3.6 (October 2, 2002)
  • Tripod Data Systems, Inc.

Credits

Developed for surveying professionals working with TDS data collectors and Survey Pro software.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft