Is there a way to define code regions in JDeveloper, like in VS? My purpose is to be able to define collapsible areas of code. I've seen in some places that it supports it, but nowhere does it tell me how to do it.
I didn't figure it'd work, but I tried the #region syntax anyway. It didn't work.
JDeveloper 10.1.3.5
You should try out newer JDeveloper versions like JDeveloper 12c - there is much more control on code folding and what is shown in the editor in that version.
Related
In Intellij Idea I can see documentation on intelliSense options:
Can I enable something like this in vs code for golang ?
Can I control the width and height of the two rectangles ?
Try installing the Go extension. Here's the source: https://github.com/Microsoft/vscode-go
It offers Intellisense/completion lists, though the completion lists feature is not working too well right now (I'm sure it will improve over time). The extension is able to get function signatures and documentation by mousing over their names once you've typed them in, even if they don't show up in Intellisense, however.
Be sure to read the extension documentation on how to get everything installed, as it makes use of a number of tools to offer all of its functionality.
I am starting to write in C#. I use VisualStudio, but I don't like the autocomplete. I was mainly writing in Android and I really like the autocomplete of AndroidStudio and Eclipse. It there a way to make the VisualStudio's one the same? I don't like that when I have a one method which can take a different set of arguments (overloaded) I have to click up and down arrow, to see the parameters. Can it just show me a scroll list like AndroidStudio and Eclipse? And is there a way when autocomplete some method to put automatically the braces and semicolon- "();"? I am really new to VisualStudio and I don't know can I modified it in this way or I should have to use to it. I just don't find anything about this.
Thanks in advance.
I suggest to have a look at ReSharper plugin for VS. It is a complete package for enhancing Productivity, but it is not a free plugin. It also have some features you mentioned. also you can check this videos:
Resharper features video list
Here is the website:
Resharper website
I have several forms (Oracle database and form 10) which have not been developed from the template. The current font is Time New Roman and I need to change it to Arial. Does any body have an idea apart from doing this task manually?
Thanks
There is a utility from Oracle called JDAPI that you could consider using. It is a Java library that alllows you to write a Java program to read and write Forms source files, making modifications such as yours programmatically.
I had to use it a couple of years ago while upgrading a lot of disparate forms to look like they belonged togther. I can't say it was easy, unless you are already an experienced Java developer, and there were some issues where some forms would get "broken" by JDAPI and have to be done manually instead.
You can checkout my blog for a step by step example how to change the fonts.
Good Luck.
http://oracleformsinfo.wordpress.com/2011/12/25/more-code-snippets-jdapi-change-font-for-all-items-prompts-boilerplates-frames/
I was wondering if there's anything like Eclipse Perspectives in Visual Studio (2008 or 2010).
For those unfamiliar with Eclipse, here's a definition of Perspectives:
A perspective is a visual container
for a set of views and editors
(parts). These parts exist wholly
within the perspective and are not
shared. A perspective is also like a
page within a book. It exists within
a window along with any number of
other perspectives and, like a page
within a book, only one perspective is
visible at any time.
Let me give you a visual example:
Java Perspective:
SVN Repository Perspective:
Maybe there is nothing like that straight out of the box, but with some plugin. If that's the case, it'll also be a valid answer.
Thanks for your time.
I used Brian's blog post as a starting point and made a VS2010 extension: http://perspectives.codeplex.com/
More info here: http://csharpening.net/blog/?p=292
It's probably not as complete as the VSWindowManager but lets you save your configurations and create new ones. Let me know if it works out!
I found this http://vswindowmanager.codeplex.com/ but it's for 2005.. there is a branch for 2008 in the source code but i don't know if it works... I think I'll give it a try and post any results...
It would be great if it works also for 2010!!! When you work in 1024*768 it's really annoying to rezise the windows every two seconds!!!
Good luck!!
You can check out my blog post which provides the ability to list and switch window layouts in Vs2008 and Vs2010: http://www.brianschmitt.com/2010/09/save-and-change-tool-layout-in-visual.html
I am wondering if it is possible to set VisualStudio IDE so it highlights private/protected/public variables of the class differently as well as change formatting on locals (i.e. variables that are either passed in or declared inside a function, like this).
I did not find any such options in the normal Fonts and Colors menu of VS. Also a search on SO reveals that (at least as of 2 years ago) only add-ons provide such features. But is there a way to manually edit some file? Just because we don't get a nice UI to edit, doesn't mean underlying framework automatically doesn't support it. I mean add-ons have to plug into something to do their magic in the editor. Any insights into this issue?
Thanks!
EDIT: I have found the following information on MSDN Syntax Highlighting (Managed Package Framework). But the explanation/examples given are woefully inadequate. Does anyone know of a more extensive docs/tutorials/etc. for MPF?
I could be wrong (probably am) but I think plugins that do what you want replace the default highlighter in Visual Studio, so I don't think there is a file you can edit. As far as I know, you need a plugin. ReSharper might do this...I'm not sure though (I don't use it)