HELP: settings directly in ini-files

Started by Stefan, February 01, 2009, 05:29:30 PM

Previous topic - Next topic

Stefan

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.


.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#1
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:
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#2
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:
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#3
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
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#4
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) Select
<general>
    <Portable>true</Portable>
</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)
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

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>
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

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.
Quote from: Stefan on May 13, 2009, 12:40:11 PMTo 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>

Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#7
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.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#8
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) Select
<XMLConfigSettings>
<Code_Completion>
<CodeHintAgreeByReturn>false</CodeHintAgreeByReturn>
...
...
</Code_Completion>
</XMLConfigSettings>


Start HippoEDIT.
Awaited manner: Now only the TAB-key insert the Code Hint into your code.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#9
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.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#10
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>

Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#11
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) Select
<Code_Completion>
    <CicleListNavigation>true</CicleListNavigation>
</Code_Completion>


Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

#12
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) Select

<Code_Completion>
  <ComplListToolTipDelay>1500</ComplListToolTipDelay>
</Code_Completion>
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

#13
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) Select

<General>
  <AutoReloadNonModified>false</AutoReloadNonModified>
</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) Select

<Source_Editor>
  <OverviewBarDrawBackColor>true</OverviewBarDrawBackColor>
</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) Select

<Code_Completion>
  <PermanentSmartHighlight>true</PermanentSmartHighlight>
</Code_Completion>
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

#14
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) Select
<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) Select
<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) Select
<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) Select
   <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) Select
   <General>
      <Clipboard disabled_formats="(HTML, RTF)"/>
   </General>




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


.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-