• Resolved onmountain

    (@onmountain)


    Hi. When I am editing with ACE (a php or CSS file) I want the autocomplete to always be on. But by default it appears off. When I click on the button (with a gear icon in the lower left), a fixed position panel comes up with ACE options, and I can check the autocomplete. It works, but there is no Save for that panel, and it always reverts. Any setting change does the same.

    Is there a way to save those changes, or at least close that panel?

    Can I go into a file in the ACE library you supply and make a manual change?

    I also do not see any way to get CodeMirror to do autocomplete. I know there must be some capability, just like the way WP Plugin Editor does autocomplete.

    BTW, a great plugin so far ??
    Thanks,
    Jamie

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Bruce

    (@ninjateamwp)

    Hi @onmountain ,

    Thanks for using Filester!
    But, unfortunately, I do not understand what you explained. Could you please record a short screencast to show this case and help us understand better?

    Kind regards,
    -Bruce-

    Thread Starter onmountain

    (@onmountain)

    Hi Bruce,
    I did a little research in ACE Editor and found that there is a configuration option that can be set.

    In the plugin I found the code at Includes/File_manager/lib/js/extras/editors.default.js

    around line 992 , I found enableLiveAutocompletion: false
    So I set that line to true. Now it does the programming auto complete when I open any file in the ace editor.

    ace.config.loadModule('ace/ext/language_tools', function () {
    								ace.require('ace/ext/language_tools');
    								editor.setOptions({
    									enableBasicAutocompletion: true,
    									enableSnippets: true,
    									enableLiveAutocompletion: true
    								});

    My problem is that when I open the Ace Editor options panel I can’t seem to close or save any changes to any option.
    The solution I have above will obviously revert back to the false when the plugin gets update. If you have any suggestions on how to keep this enableLiveAutocompletion: true please let me know ??

    I wish this were a user settable Filester plugin option. This is a fundamental tool for any programmer using any editor on PHP or CSS.

    I am not sure if codemirror has a similar autocomplete setting or not. But Ace seems pretty powerful.

    Jamie

    Plugin Support Bruce

    (@ninjateamwp)

    Hi @onmountain ,

    Thanks for the references!
    So,please note that Filester is written based on elFinder library, and we don’t have any customization with it.

    Please check here, maybe you will get the answer
    https://github.com/Studio-42/elFinder/

    Kind regards,
    -Bruce-

    Thread Starter onmountain

    (@onmountain)

    Thank you. That is helpful info ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ACE Editor options not saving’ is closed to new replies.