Author Topic: HELP: settings directly in ini-files  (Read 13501 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
HELP: settings directly in ini-files
« on: February 01, 2009, 05:29:30 pm »
THE TOPIC CONTENTS WERE COPIED TO WIKI.



There are some settings which are not that important to mention them in option-menu
but you can set them by editing the ini-files (XMLs) directly.  This thread will collect this settings for you:



The settings.xml file is created after first exit from HippoEDIT in the user data directory \ data.
You can find the path in Tools->Options->General->"Settings Path".

If this file is not created after exit, than probably you do not have permissions to write to the user data folder (wrong selection during installation).
You can check this by changing some setting and rechecking it after restart of HE.



Q:  Can you add an option to set delay before displaying popup.
      For example displaying hints or commands are too long for me.
      Also to display hidden text in outlined section.


A:   It is already possible.
      But because it is more customizing and interesting mostly for expert users it is not published in Options dialog,
      but could be changed through xml files.

      Check file settings.xml in HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).
      <HoveringDelay>1000</HoveringDelay> - value controls delay before showing tooltip (in milliseconds).

      Code Hints should be displayed immediatelly.

     Delay before hiding of the tooltip can be adjusted in Tools->Options->Code Completion.


.
« Last Edit: August 09, 2012, 04:59:48 pm by alex »
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #1 on: February 01, 2009, 05:36:33 pm »
Action for double clicking header/tab

Q:   Currently (1.40 build 556) if i double click on the file tab ....
       the explorer windows on the left disappears .....or is shown again.

       My expect was   -to close this very same document-   by double clicking the tab header.



A:     Implemented with 1.40 beta 557 (23.12.2008)

        Check file hippoedit.config in HippoEDIT directory (%HIPPOEDIT_DIRECTORY%\hippoedit.config)
        Set "CloseTabOnDblClick" property to 'true'. Default is false.

        Now, double clicking the Tab close this doc   (and ask to save, if doc was modified).

.
Here is an picture to show you what this means:
« Last Edit: February 16, 2009, 05:00:36 pm by Stefan »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #2 on: February 01, 2009, 08:38:56 pm »
Automatic pop-up of 'Command Hints' dialog

The Hint window appears automatically when you keep Ctrl or Shift key pressed for a some time.
By default it is 1,5 sec.

Delay can be changed here:
Check file settings.xml in HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).
<AccelHintTimer>1500</AccelHintTimer>
Put bigger value to wait longer or 0 to disable at all.

Quote from: Alex
I would say, this hint window is probably only useful for novice, that does not remember all shortcuts.
Then if they press Ctrl and l;ong think about what is next they should get a hint of all commands containing Ctrl,
if then you press some other control key (Shift or Alt or both) I do filtering once more according new combination.

Also you can do a search in this hint window, typing characters without releasing control keys.
And then current item changed or you click on some icon - action is executed.


---
Note:

if this line does not exists, just paste them in, right under <General>.

Advanced user can set the time to 5 seconds (5000) or more.
Like i have set it to 8000, so this pops up only if i really want it to :D

<General>
     <AccelHintTimer>8000</AccelHintTimer>
      <WorkingDirectory></WorkingDirectory>


Here is an screenshot compilation with three command hints dialogs, so you can see what we talking about:
« Last Edit: March 05, 2009, 09:39:11 am by Stefan »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #3 on: April 11, 2009, 12:45:29 pm »
Q: is there already an option to enable
     the view of every single line number
     instead of every fifth  and current "only" ?

A: There is no UI option you can change,
    but you can switch this directly in  "X:\HippoEDIT\Data\settings.xml"   
    (if it is not already there, it is because default is true, and defaults are not stored)


      <Source_Editor>
            <CondensedLineNumbers>false</CondensedLineNumbers>
      </Source_Editor>

.

This flag will be moved to UI in 1.50, because of large number of request on this setting
« Last Edit: May 08, 2010, 03:08:36 pm by alex »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #4 on: April 20, 2009, 11:26:58 am »
Since Version 637  http://forum.hippoedit.com/index.php/topic,145.0.html


New. Portable mode
- Enabled as by command line parameter in hippoedit.config

In this mode HippoEDIT would not leave any temp files on exit
(they are used to speed up loading of editor next time and for user file preferences)

-- Close HippoEDIT
-- Check file hippoedit.config in HippoEDIT directory (%HIPPOEDIT_DIRECTORY%\hippoedit.config)  for

Code: XML
  1. <general>
  2.     <Portable>true</Portable>
  3. </general>
Note: if this line does not exists, just paste them in, right under <General>.

-- Start HippoEDIT

-----

Note:
HippoEDIT was portable before too, till to this temp files,
see Can HippoEDIT run portable? , and now with this parameter the temp files are gone too.

You may read this too:
Where my HippoEDIT configuration stored?
Is there a possibility to use HippoEdit off a memory stick?  U3 technology  ( no U3 solution, sorry)
« Last Edit: July 23, 2011, 04:23:41 am by alex »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #5 on: May 19, 2009, 02:20:25 pm »
Auto Word wrap is disabled for files bigger then N Megs for improving performance on loading big files.
Controlled by XML parameter General->WordWrapLimit value in settings.xml.

Default is 2048 Kb   (auto disable WordWrap if file size is bigger then 2048 kB / 2MB)
0 means: disabled   (don't auto-disable WordWrap, even for the biggest files)

Of course you can always re-enable WordWrap! This is only to speed up file loading.

- - -

Check file settings.xml in HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).
<WordWrapLimit >0</WordWrapLimit>       (disabled)
<WordWrapLimit >1024</WordWrapLimit> (don't WordWrap on loading files bigger then 1MB)
<WordWrapLimit >5000</WordWrapLimit> (don't WordWrap on loading files bigger then 5000 kB / ~ 5MB (5120kB) )
IF 'WordWrapLimit' -line is missed                (don't WordWrap on loading files bigger then 2048 kB / 2MB)

Details...

--------------------------
Note:
if this line does not exists (because standards are not stored in settings files), just paste them in, right under <General>.

   <General>
      <AccelHintTimer>8000</AccelHintTimer>
      <WorkingDirectory></WorkingDirectory>
     <WordWrapLimit >0</WordWrapLimit>

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #6 on: June 07, 2009, 09:27:17 pm »
HippoEDIT Beta 1.43 Build 622 of 05. June 2009

Delay for showing Code Hint tooltip added.
Maybe this can help with situation of pressing <enter> at the end of line.
To often i want type 'fun' and then do an RETURN,
but i was auto suggested with 'function'   - which was be entered then by pressing RETURN, and i have to undo it.

Default is 250 ms.
Delay is controlled by xml flag in settings.xml: <Code_Completion><HintDelay>250</HintDelay></Code_Completion>.

- - -

Check file settings.xml in HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).

Note:
if this line does not exists, just paste them in, right under <Code_Completion>

   <Code_Completion>
      <HintDelay>250</HintDelay>
      <UseAutoCorrection>true</UseAutoCorrection>
      <AutoOpen>true</AutoOpen>


Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #7 on: June 07, 2009, 09:36:07 pm »
HippoEDIT Beta 1.43 Build 622 of 05. June 2009

New XML property added which controls visibility of markers in editor window:
settings.xml ->
<Source_Editor><Marker line="true" position="true" anchor="true" selection="true"/><Source_Editor>

By default all markers are enabled.
To disable marker set attribute value to false (by default node does does not exist, because it equal to default).

Details...

- - -


Marker:
To  disable marker follow this steps:


Exit HippoEDIT.
Open file settings.xml from HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).


Modify the following lines in the <Source_Editor> section.

Note:
if this line does not exists (because standards are not stored in settings files),
just paste them in, right under <Source_Editor>

Example:
<XMLConfigSettings>
   <Source_Editor>

  <Marker line="true" position="true" anchor="true" selection="true"/>
      <CondensedLineNumbers>false</CondensedLineNumbers>

Explanation:
="true"    means: show this marker as an notify hint
="false"   means: don't show it

line         means:
position   means:
anchor     means:
selection  means:



Start HippoEDIT.
Awaited manner: depending on your above setting you see now less markers.
« Last Edit: July 27, 2009, 03:28:50 pm by Stefan »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #8 on: July 27, 2009, 03:14:22 pm »
Quote from: Help
Code Hints
Code hints will help in runtime during typing,
suggest you best guesses examine words statistics, dictionaries and templates.

By pressing Tab or Enter, when Code Hint is shown,
you can insert it into your code, not typing rest of chars.


Code Hint:
To  remove Enter-key from agree keys follow this steps:


Exit HippoEDIT.
Open file settings.xml from HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).

Paste the line <CodeHintAgreeByReturn>false</CodeHintAgreeByReturn>
into the <Code_Completion> section.

Example:
Code: XML
  1. <XMLConfigSettings>
  2.         <Code_Completion>
  3.                 <CodeHintAgreeByReturn>false</CodeHintAgreeByReturn>
  4.                 ...
  5.                 ...
  6.         </Code_Completion>
  7. </XMLConfigSettings>

Start HippoEDIT.
Awaited manner: Now only the TAB-key insert the Code Hint into your code.
« Last Edit: July 23, 2011, 04:30:12 am by alex »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #9 on: October 07, 2009, 08:59:51 pm »
Read Only (r/o) Mode

If an file is set on disc to 'read only' you can still modify an document by disabling "File > Read Only".

BUT the disabling of  "Read Only"  in HippoEDIT does not change the 'r/o' attribute of the file itself.
So the file is still 'read only' even if you disable "File > Read Only" in Editor and modify the document.
That means you can't save the modified document to that current file name, you will be prompted with an "Save as..." -dialog.


That's because this File-Attribute-Follows-Editor-Setting is set to 'false' by default,  
but you can modify settings.xml to change this.

Modify file settings.xml in HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).
Note: if this blue line does not exists (because standards are not stored in settings files), just paste them in, right under <General>.

  <General>
     <UpdateFileReadOnly>true</UpdateFileReadOnly>
  </General>

Awaited manner:
If an file is r/o on disc
and you disable  "File > Read Only" in editor
the r/o attribute of the file on disc is removed
and you are able to save the document to that very file name.
« Last Edit: November 03, 2009, 01:48:21 pm by Stefan »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #10 on: October 31, 2009, 08:29:44 pm »
1.47.739 (31.Oct.2009) http://forum.hippoedit.com/index.php/topic,574.msg2592.html#msg2592

New xml flag added to enable suggestion of the Code hint directly after insertion of previous one.
By default on. (true)
Reported by Marat.

To disable hint after hint:

Modify file settings.xml in HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).
Note: if this blue line does not exists (because standards are not stored in settings files), just paste them in.

  <Code_Completion>
      <HintAfterHint>false</HintAfterHint>
  </Code_Completion>

« Last Edit: November 03, 2009, 01:34:18 pm by Stefan »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #11 on: October 31, 2009, 08:31:51 pm »
1.47.739 (31.Oct.2009) http://forum.hippoedit.com/index.php/topic,574.msg2592.html#msg2592

Now it is possible to circle navigation in completion list
(when you press 'up' on top element you jump to last,
when on last and press 'down' you jump to first). 
Requested by Marat.

By default it is disabled, but can be enabled with xml flag:

Modify file settings.xml in HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).
Note: if line 2 does not exists (because standards are not stored in settings files), just paste them in.

Code: XML
  1. <Code_Completion>
  2.     <CicleListNavigation>true</CicleListNavigation>
  3. </Code_Completion>

« Last Edit: July 23, 2011, 04:25:19 am by alex »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #12 on: November 03, 2009, 01:24:19 pm »
1.47.740 (03.Nov.2009) http://forum.hippoedit.com/index.php/topic,574.msg2592.html#msg2592

New XML flag for controlling delay of tooltip display in completion list: ComplListToolTipDelay. Default is 1500 ms.

Modify file settings.xml in HippoEDIT data directory (%HIPPOEDIT_DIRECTORY%\data\settings.xml).
Note: if line 2 does not exists (because standards are not stored in settings files), just paste them in.

Code: XML
  1. <Code_Completion>
  2.   <ComplListToolTipDelay>1500</ComplListToolTipDelay>
  3. </Code_Completion>
« Last Edit: July 23, 2011, 04:24:24 am by alex »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2181
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
New XML settings from 1.48.782
« Reply #13 on: June 08, 2010, 11:03:38 pm »
AutoReloadNonModified - controls HippoEDIT behavior if non modified open file updated by external program.
If true (default) non modified files will be reloaded silently, without confirming popup. If false, old behavior - confirmation popup will be shown.
For modified documents, popup is shown always (if not disabled for current document).

to disable new behavior add this to settings.xml:
Code: XML
  1. <General>
  2.   <AutoReloadNonModified>false</AutoReloadNonModified>
  3. </General>

Additional info BTW: enable "Auto-Reload after external modification" via menu item "File > Auto-Reload"

By default, if file is updated (and it was changed before, or AutoReloadNonModified set to true)
you will get a popup informing you about the update and request for reload.

There you have several choices: always reload this file (same as setting in file menu), never reload current file (same
as setting in file menu) and just single Reload or not ("Yes\nNo\nAlways for this file\nNever for this file").
But in addition, there is a check box, "Do Not Ask Again". If you will check it, you will be not asked any more, and your last choice will be used. If you select Yes - files will be always reloaded automatically, if No - files will be not updated and you will get no information popup on update.

You can only reset settings later by "reseting" check from workspace file directly (still no UI for this).
Yes, maybe this flag can be moved to UI directly but I will wait for more request for this



OverviewBarDrawBackColor - controls background color of the Overview Bar.
If true, background color corresponds to current editor window background, this helps too keep similar representation of the objects from document on overview bar. If false (default), old behavior - standard window background color used (button face).

to enable new behavior add this to settings.xml:
Code: XML
  1. <Source_Editor>
  2.   <OverviewBarDrawBackColor>true</OverviewBarDrawBackColor>
  3. </Source_Editor>

PermanentSmartHighlight - controls behavior of Smart Highlight.
If true, smart highlighting is not automatically removed with cursor movement or text edit, but toggled if new word is smart highlighted.
If false (default), old behavior - smart highlight removed after some user action.

to enable new behavior add this to settings.xml:
Code: XML
  1. <Code_Completion>
  2.   <PermanentSmartHighlight>true</PermanentSmartHighlight>
  3. </Code_Completion>
« Last Edit: July 23, 2011, 04:24:10 am by alex »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
Re: HELP: settings directly in ini-files
« Reply #14 on: January 25, 2011, 01:36:37 pm »
1.49.796 (24.Jan.2011) http://forum.hippoedit.com/index.php/topic,773.msg3365.html#msg3365

Added. Disable auto conversion of tabs to space on save as XML flag.
Set settings.xml ->
Code: XML
  1. <Formatting><TabConvertOnSave>true</TabConvertOnSave></Formatting>
to enable once more.
The value only relevant for Tab modes which does not allow tabs. Details...

Added. Default method for tab/spaces conversion for Auto Mode: controls which mode to select, if document content is not sufficient for statistics (fex for new documents).
On default, Tabs are allowed.
Set settings.xml ->
Code: XML
  1. <Formatting><AutoModeUseTabs>false</AutoModeUseTabs></Formatting>
to use space mode by default for auto mode. Details...


1.49.796
Added. New XML flag to show asterisk (*) beside modified file names in Document Tabs, Menus and Tool Windows (fex if you do not like only color indication).
To enable add this
Code: XML
  1. <TabAsterisk>true</TabAstersik>
to HippoEDIT.config.

Added. File information storage location (where file bookmarks, outlining state, cursor position etc should be stored).
For 1.49 as XML setting and from 1.50 as UI setting.
Code: XML
  1.    <General> <Persist location="0"/> </General>
0 - file state information stored in hidden satellite file ({file_name}.heinf) in same directory. Fast way
1 - file state information stored in hidden directory shared file .heinf located in same directory. Slower.
Depends on amount of files with state information in same directory.
2 - file state information stored in current workspace file (so, workspace specific).
Slowest, Depends on amount of files with state information. Can make generic workspace loading slower.
3 - file state information stored in alternative file stream inside of same source file. Only for NTFS 5 and higher (Win 2000).
The state information will be lost if file is copied on file system different from NTFS. Fast. No additional files used.


Added. From now on it is possible to disable usage of some Clipboard Formats with XML flag in settings.xml. Details...
Code: XML
  1.    <General>
  2.       <Clipboard disabled_formats="(HTML, RTF)"/>
  3.    </General>



1.49.792
Fixed. XML Flag controlling collapsing of comments on Collapse All. Details...


.
« Last Edit: July 23, 2011, 04:14:36 am by alex »

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
2275 Views
Last post April 20, 2009, 09:36:34 pm
by Arthur
3 Replies
1605 Views
Last post July 29, 2009, 05:24:54 pm
by alex
1 Replies
2028 Views
Last post August 01, 2009, 12:13:07 pm
by alex
4 Replies
1633 Views
Last post July 12, 2010, 03:29:41 am
by luxxon
2 Replies
1822 Views
Last post June 25, 2011, 12:02:56 am
by RickF