This question already has answers here:
Recommendation for Pseudo Code Editor for Development [closed]
(4 answers)
Closed 9 years ago.
I have to create some Pseudo Code but want it too "look good" and consistently formatted. Is there something where it will let me make if statements in Pseudo Code (I know it isn't a real language) so that I keep the same syntax throughout?
I don't want to accidentally start using a slightly different syntax as I go along and hence an editor may help me out.
Notepad++ doesn't support Pseudocode out of the box (nor does any other editor AFAIK), but it does have a syntax highlighting editor which you can use to define syntax highlighting and formatting for Pseudocode.
See also http://www.zoovio.com/image/view/2#!prettyPhoto, where Stewart Venit shows the syntax highlighting he wrote for Notepad++ for one of his books.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I am looking for a convenient way to write and edit YAML.
Right now I am using: http://editor.swagger.io/#/
But it is not so convenient because when you have too many lines you are getting lost there.
Suggestions?
You can use Notepad++ it will automatically do identation for you and you can also find out your code lines very easily.I don't whether it supports YAML or not.
Second, You can use Sublime it
Sublime Text 2 also supports YAML files with syntax highlighting and indentation right out of the box. If you have tabs as your default use for indentation in Sublime Text, Jon Thomas over at Coder Wall explains how to fix this. I've copied what he wrote below for your convenience:
Languages like YAML require text to be indented using spaces. Tabs are not allowed. So, if you typically use Sublime Text 2 with tabs as your default indentation, here's how you can force a certain language to always use spaces. I'll use a .yml file as an example, but you can follow the same steps for any file type.
While editing a .yml file in Sublime Text 2, go to the Sublime Text 2 menu. `
Go to Preferences -> Settings - More -> Syntax Specifc` - User
Sublime Text 2
will open a settings file specific to the language you chose to edit settings for. In this case, I'll be editing the YAML.sublime-settings file, which will apply settings to only the YAML syntax language.
Use the following code to set up your indentation settings:
"tab_size": 2,
"translate_tabs_to_spaces": true
3.You can try ORM Designer. It's a visual editor for ERD model with support for import/export to YAML files.
I can't seem to find the option to display the expressions window while debugging.
As seen here, there should be a tab called expressions.
I can't find any option nor any symbol that looks like it on my machine (Windows 7 64-bit, Dart/sdk/editor 0.5.* 32 bit).
I can't find anything on Google or Stack Overflow and I have been searching for over a day now. What am I missing?
Those docs need to be updated - we removed the expressions editor a while ago. It's going to be replaced with an object inspector, which will be more full featured and have a better UX.
Does anyone know of a syntax highlighter, ideally for Sublime Text 2, for NetLogo? I'd rather not write my code directly in NetLogo and prefer to use editors I'm more used to, but I can't seem to find a syntax highlighter for it.
There is the NetLogo syntax on PackageControl.io.
Also, as you see can see on the NetLogo resources page, there is one for VIM and one for BBEdit. There is also a plugin for Pygments.
If you ever want to try rolling your own or improve another, this NetLogo wiki page might be useful.
There is one floating around for notepad++.
I downloaded it a while ago, but I can't seem to find the link for you right now. Someone posted it in yahoo groups, and it is a user defined language you have to import into Notepad ++. I wish I had the link for you, I'm sorry I can't be of more help.
I just downloaded brackets after hearing recent buzz about the editor. There are some really cool / useful features out of the box.
Alot of my projects use templating engines, like twig. Does this editor support bundles for other filetypes? I have been using textmate for a while and by simply downloading the twig bundle I have highlighting and code snippets integrated into the editor. I am hoping brackets has a similar feature.
The short answer is: not yet, but soon.
Longer answer:
APIs for Brackets extensions to add a new syntax/language are currently in progress, and will probably be done in about a month.
Since Brackets uses the CodeMirror editor, syntax highlighting is driven by CodeMirror "modes." It doesn't appear that anyone has made a Twig mode yet. But it might not be too hard to build one, either based on the sample code for Mustache highlighting or the new "multiplexing mode" feature in CodeMirror 3 (Brackets is updating to CodeMirror 3 soon).
Brackets may eventually support directly importing TextMate language bundles, like Sublime does, but that's a ways off.
As a stopgap, you could have Brackets just highlight Twig files as plain HTML -- better than no color coding at all. That'll be doable with the upcoming extension APIs, but if you're feeling adventurous you could hack your current copy of Brackets to do that right now. Just dig into the app folder, open www/editor/EditorUtils.js, and add the file extension after the case "html": line.
(p.s. - I work on the Brackets core team. Thanks for giving Brackets a try!)
This question already has answers here:
Autocompletion in Vim
(7 answers)
Closed 9 years ago.
Is there an autocomplete feature for Vi? ctrlp looks for keywords already used in the document. But suppose I want a.funcname to automatically show members of object a. Is it possible with Vi?
YouCompleteMe. It’s a plugin that offers extremely fast, fully syntax-aware auto-completion. It furthermore shows code errors on the fly (by putting a marker inside the margin next to the offending line).
So far, C++, C# and Python are natively supported. However, the plugin has an easily accessible API to add support for more languages.
There are other plugins but with the exception of Jedi (for Python only) nothing comes even close to working properly.
Take a look at supertab: http://www.vim.org/scripts/script.php?script_id=1643
I realise this isn't quite answering your question, but have you looked at running vi within an IDE ?
viPlugin works with Eclipse and is a pretty good vi emulation. Since it runs within Eclipse you get all the code completion that Eclipse provides. Eclipse isn't just for Java, btw. It works with a variety of languages and may well cater for what you need.
This is the direction I took when I reluctantly realised that vi by itself wasn't providing as much help as I needed when developing, but I was reluctant to give up the power of the editor.
I use NetBeans with the jVi plugin. It gives me the editing power of vi with the intelligent auto-completion features of NetBeans.
It depends on your language. For c++, for example, there is omnicppcomplete.
Maybe this article will help, I haven't tried it to be honest but it looks suitable.