PeopleSoft Text Editor Visual Studio Code

PeopleCode Syntax Highlighting available for Visual Studio Code

I have moved away from Sublime Text in favour of Visual Studio Code, and have created PeopleSoft Tools for Visual Studio code. I’ve noticed that the Extract Call stack functionality performs considerably faster in VSCode than it does in Sublime Text because of Node’s non-blocking IO. It also permanently saves a stack track file (tidied or untidied) to the same location as the trace file. The extension can be installed within VSCode, or you can find…

Continue reading

Oracle PeopleSoft

PeopleCodeTools – Syntax Highlighting for Sublime Text

I’ve had a few requests from people to document how I use the  PeopleCodeTools syntax highlighter in Sublime Text. Here’s a quick overview. Firstly, the source code is freely available on github, for those that would like to contribute to it. And for those unfamiliar with installing this plugin using Sublime Text, all you need to do is first install Package Control, and then install the ‘PeopleCodeTools’ plugin from Package Control. The plugin should work for PeopleCode…

Continue reading

Oracle PeopleSoft

Extracting the call stack from a PeopleCode trace

I’ve added another tool to the PeopleCodeTools Sublime Text plugin that allows you to extract the call stack from a PeopleCode trace. You can find it on the PeopleCodeTools repository on github along with the syntax highlighters for PeopleCode and PeopleSoft trace files. For those unfamiliar with installing this plugin, please see my previous post: PeopleCodeTools – Syntax Highlighting for Sublime Text This tool only applies to PeopleSoft Trace Files that have at a minimum the following trace…

Continue reading

PeopleSoft

Cross-browser PeopleSoft Bookmarklets

Here are some cross-browser bookmarklets I wrote that should allow you to navigate to a particular component irrespective of what environment you’re in: PeopleCode Trace SQL Trace Roles User Profile Permission Lists Process Monitor To install, simply just drag the links onto your bookmarks/favourites bar. To add your own, use the following as a template, replacing the <Menu>.<Component>.<Market> where appropriate: javascript:var a=window.frames.location.pathname.match(/^\/ps[pc]\/(.+?\/)(.+?\/)(.+?\/)/),b=a[1];-1<b.indexOf(“_”)&&(b=b.substr(0,b.indexOf(“_”))+”/”);void window.open(“/psp/”+b+”_newwin/”+a[2]+a[3]+”c/UTILITIES.TRACE_SQL.GBL“,””,””); I find them especially useful in the following situations: When you have…

Continue reading

Text Editor

Sublime Text Cheatsheet (Windows)

Here’s a Sublime Text Cheat Sheet that I just created based on what I’ve seen from others and with a few plugins of my own. Some of the links may not work since they refer to my dropbox folder. Posting it here is really for my own benefit, but it may be of use to some of you too. Command Palette Open Palette: Ctrl+Shift+P (Tools > Command Palette…) Selection (can Be Repeated Multiple Times) Select…

Continue reading

jQuery

jQuery bookmarklet

Here’s a bookmarklet that allows me to debug any webpage using jQuery via the Chrome Developer Console: Load jQuery To install, simply just drag the above link onto your bookmarks/favourites bar. Note: This bookmarklet will first prompt whether you want to overwrite any current version of jQuery that is already loaded on the page with the latest minified version of jQuery.

Continue reading

Windows

Removing hiberfil.sys

My hiberfil.sys was taking up 11 GB on my 120 GB SSD. Since I never used hibernate mode and desperately needed the space, I used the instructions on the following site to remove it: http://www.howtogeek.com/howto/15140/what-is-hiberfil.sys-and-how-do-i-delete-it/ It was pretty straightforward. All you need to do is open up a Command Prompt in Administrator mode and then run the following command:

Continue reading

jQuery

Chrome Access-Control-Allow-Origin error

I was trying to use the jQuery load function in Chrome (on Windows) when I encountered the following error: XMLHttpRequest cannot load file:///C:/Projects/test/about.html. Origin null is not allowed by Access-Control-Allow-Origin. I discovered that I had to disable web security in chrome by closing ALL currently running instances of chrome and then running chrome with the – -disable-web-security parameter:

Chrome would then display the following warning header once it was loaded: Note: I would only recommend…

Continue reading