Category:Snippets repository: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
Fal7i (talk | contribs)
mNo edit summary
Fal7i (talk | contribs)
mNo edit summary
Line 3: Line 3:
{{note|text= To import your Bluefish_1 Custom menu in snippets you can use Olivier's python script [[convert_custom_menu_to_snippets.py]].
{{note|text= To import your Bluefish_1 Custom menu in snippets you can use Olivier's python script [[convert_custom_menu_to_snippets.py]].
*put convert_custom_menu_to_snippets.py in ~/.bluefish/ directory
*put convert_custom_menu_to_snippets.py in ~/.bluefish/ directory
*make the script executable: <tt>'''$''' chmod a+x convert_custom_menu_to_snippets.py</tt> and run the script.}}
*make the script executable: <tt>'''$''' chmod a+x convert_custom_menu_to_snippets.py</tt>
*run the script:<tt>'''$''' ./convert_custom_menu_to_snippets.py > mysnippets.xml</tt>
* import mysnippets.xml in your snippets plugin.
}}

Revision as of 12:24, 7 January 2010

In Bluefish 2 Custom menu is replaced by Snippets in left panel.
Bluefish_2 become without any snippets, you have to import or create them.

To import your Bluefish_1 Custom menu in snippets you can use Olivier's python script convert_custom_menu_to_snippets.py.
  • put convert_custom_menu_to_snippets.py in ~/.bluefish/ directory
  • make the script executable: $ chmod a+x convert_custom_menu_to_snippets.py
  • run the script:$ ./convert_custom_menu_to_snippets.py > mysnippets.xml
  • import mysnippets.xml in your snippets plugin.