GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Jatz/PeopleCodeTools: Oracle PeopleSoft PeopleCode Tools for Sublime Text

BranchesTags
Open more actions menu

Latest commit

 

History

181 Commits
181 Commits

Folders and files

NameName
Last commit message
Last commit date
messages
messages
 
 
Default.sublime-commands
Default.sublime-commands
 
 
ExtractCallStack.py
ExtractCallStack.py
 
 
Main.sublime-menu
Main.sublime-menu
 
 
PeopleCode.tmLanguage
PeopleCode.tmLanguage
 
 
PeopleCodeCallStack.tmLanguage
PeopleCodeCallStack.tmLanguage
 
 
PeopleCodeTools.sublime-settings
PeopleCodeTools.sublime-settings
 
 
PeopleSoftTrace.tmLanguage
PeopleSoftTrace.tmLanguage
 
 
PeopleSoftTraceCOBOL.tmLanguage
PeopleSoftTraceCOBOL.tmLanguage
 
 
README.md
README.md
 
 
TidyPeopleCodeTrace.py
TidyPeopleCodeTrace.py
 
 
messages.json
messages.json
 
 

Repository files navigation

PeopleCode Tools - Sublime Plugin

This repository contains the following:

  • Sublime Text Syntax Highlighter for PeopleCode and PeopleSoft Trace files
  • Sublime Text Extract Call Stack tool
  • Sublime Text Tidy PeopleCode Trace tool

Sublime Text Syntax Highlighter for PeopleCode and PeopleSoft Trace files

The syntax highlighter applies to files with the following extensions:

  • ppl (PeopleCode)
  • pcode (PeopleCode)
  • tracesql (PeopleSoft Trace Files)
  • trc (PeopleSoft COBOL Trace Files)

Note: The syntax highlighting plugin slows the opening time for very large files (i.e. 50 MB or greater) due to the fact that the plugin uses regular expressions to create scopes. If you are using the BracketHighlighter plugin on large PeopleCode files, you’ll need to disable it by running ‘BracketHighlighter: Toggle Global Enable’ from the command line. If not, Sublime will behave very sluggishly for these files. Also, it is recommended that the ‘Highlight matches’ option be disabled when searching large files. If ‘Highlight matches’ is not disabled, the search will try to instantly match every single character you type.

Sublime Text Extract Call Stack tool

This tool will extract and format the call stack from a PeopleSoft trace file.

This tool ONLY applies to PeopleSoft Trace Files that have the following PeopleCode trace flags:

  • Program Starts (64)
  • External function calls (128)
  • Internal function calls (256)
  • Return parameter values (1024)
  • Each statement (2048)

Trace files that have not been generated using these trace flags will not produce enough information for the tool to format the call stack. To use the tool, open a .tracesql file in Sublime Text and then run the "PeopleCode Tools: Extract PeopleCode Call Stack" command from the command palette.

Sublime Text Tidy PeopleCode Trace tool

This tool will tidy up a tracesql file by performing the following operations:

  • Adding a matching quote to the end of certain lines that have an odd number of quotes, ensuring that the syntax highlighting of the PeopleCode trace file works correctly (tidy_add_unmatched_quotes).
  • Removing blank spaces (tidy_remove_blank_spaces)
  • Removing the PSAPPSRV header text to make the trace file easier to read (tidy_remove_psappsrv_headers). This option is disabled by default. Feel free to set this to true in the user settings for this plugin if you desire this functionality.

Note: This tool may take a while to run on large files (i.e. files greater than 8 MB).

Demonstration

To see how this plugin can be used refer to the following:

  • Using Syntax highlighting and the Tidy PeopleCode Trace tool
  • Using the Extract PeopleCode Call Stack tool

About

Oracle PeopleSoft PeopleCode Tools for Sublime Text

Resources

Readme
Activity

Stars

26 stars

Watchers

8 watching

Forks

7 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.