Jump to content
Connor.

Extended Function Viewer

Recommended Posts

I think its about time the function viewer was shown some love and replace that ghastly light theme with one more pleasing to the eyes.

 

Features:

  • Themes
    • Atom One Dark
    • Atom One Light 🤢
    • VSCode Dark+
    • VSCode Light+ 🤮
  • Syntax Highlighting
  • Text resizing
  •  Multiple file loading methods
    • loadFile, preprocessFile, preprocessFileLineNumbers & compiled function (from the variable)
  • Line numbers
    • Supports the #line command so displayed line numbers match script error line numbers (on preprocessFileLineNumbers & compiled function file load methods)
  • Copy to clipboard
    • SP & MP Compatible
  • Search filter
    • Search by function name and file path
  • Sort functions list by
    • CfgFunctions - Hierarchy
    • CfgFunctions - Parent group
    • CfgFunctions - Function tag
    • CfgScriptPaths - UI functions
    • Viewed function history

 

SteamWS: https://steamcommunity.com/sharedfiles/filedetails/?id=1678581937

Github: https://github.com/ConnorAU/A3ExtendedFunctionViewer

Discord: https://discord.gg/DMkxetD

 

Spoiler

Fje1W0D.png

 

n2qGfd8.png

 

Re45FRg.png

 

OC1jjHh.png

 

 

 

Edited by Connor.
v1.6 update
  • Like 14
  • Thanks 2

Share this post


Link to post
Share on other sites

Great additions as always !

Thank you very much Connor and congratulations for the release !  :thumbs-up:

  • Like 2

Share this post


Link to post
Share on other sites

Crazy useful!

  • Like 2

Share this post


Link to post
Share on other sites

Oh, nice. 🙂

Two things that caught my eye:
- seems that one can't select text from the code window, only way to copy is to press the 'copy to clipboard' button copying the whole code. Or am I missing something, or a limitation?
- Any change adding a font size "selector" for the code window? On my screen (1920x1200 Ui small) the font is annoyingly big

  • Like 2

Share this post


Link to post
Share on other sites
39 minutes ago, h - said:

- seems that one can't select text from the code window, only way to copy is to press the 'copy to clipboard' button copying the whole code. Or am I missing something, or a limitation?

This is a limitation. The only good way to have multi-colour text is using a structured text control, which can't be selected.

 

40 minutes ago, h - said:

- Any change adding a font size "selector" for the code window? On my screen (1920x1200 Ui small) the font is annoyingly big

I'll get onto this 👍

  • Thanks 2

Share this post


Link to post
Share on other sites

Update:

  • Added: Sort by CfgFunctions parent group
  • Added: Collapse/Expand all buttons
  • Added: Changing sort mode auto-selects the previously selected function
  • Added: Font size adjustment buttons
  • Changed: Syntax toggle control from drop box to button
  • Fixed: Code view not refreshing on theme/load method switch if a parent class was selected in the list
  • Minor clean up of some duplicate code
  • Thanks 4

Share this post


Link to post
Share on other sites

Update:

  • Added: Sort by viewed function history
  • Added: Select last selected function when re-opening the UI
  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

Seems that if using Eden Enhanced and this it blocks the XFUNCTIONS button on the debug console. You can see the button faded under the FUNCTIONS button.
Dunno if there's much you or Revo can do about this, other than one of you changing the button into listbox to select which one to use if both mods are loaded :shrug:

Share this post


Link to post
Share on other sites

Would probably be easiest to just move my button to a different position, I won't be doing it though. Don't have arma installed to test anymore.

Have higher priorities at the moment and arma has always been a weak spot so I'm actively trying to keep myself from falling back into developing 😛

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
On 5/21/2019 at 8:53 AM, h - said:

Seems that if using Eden Enhanced and this it blocks the XFUNCTIONS button on the debug console. You can see the button faded under the FUNCTIONS button.
Dunno if there's much you or Revo can do about this, other than one of you changing the button into listbox to select which one to use if both mods are loaded :shrug:

I'll get into that. Next time don't hesitate to private message me or open an issue on https://github.com/RevoArma3/3den-Enhanced

 

 

Edit: I fixed the issue. 😉

  • Like 1

Share this post


Link to post
Share on other sites

Update:

  • Faster loading speeds when changing font size
  • Added "Compiled Function" file load type
  • Added interpretation of the #line command when printing line numbers
    • Spoiler

      zDCLCZ4.png


       
  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

Update:

  • Added extension for faster sqf parsing.
    • When active, applying syntax highlighting to large functions is almost instant.
    • Automatically falls back to sqf-based parsing if the extension fails to load (it is not battleye whitelisted) or encounters an error.
  • Added support for CfgScriptPaths UI functions
    • Spoiler

      NZTMbt6.png

  • Improved detection of preprocessor commands
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×