Code editor: need spaces instead of tab characters for indentation

I need to have spaces inserted into my code for indentation instead of tabs. "Use tab character" is unchecked under tools|preferences|code editor|code style|edit but to no avail. Any suggestions? Thanks, M C

But would this cause a tab to be translated as one space or would it still be a tab character? I think it will still be a tab character, which is a problem. I know MS Dev Studio can be set to translate tabs to spaces on the fly so if you hit a tab the cursor jumps 4 spaces and those spaces are spaces, not a tab. Thanks for the reply.

Similar Messages

  • Can the editor use spaces instead of tabs for indentation?

    I need to have spaces inserted into my code for indentation instead of tabs. "Use tab character" is unchecked under tools|preferences|code editor|code style|edit but to no avail. Any suggestions? Thanks.

    But would this cause a tab to be translated as one space or would it still be a tab character? I think it will still be a tab character, which is a problem. I know MS Dev Studio can be set to translate tabs to spaces on the fly so if you hit a tab the cursor jumps 4 spaces and those spaces are spaces, not a tab. Thanks for the reply.

  • How to insert tab characters for indenting in MathScript Code

    Since pressing the Tab key throws one out of Text Mode, when editing a MathScript Node, is there some other way to introduce a tab.  Tabs are extremely handy for improving readability of nested loops and inserting the equivalent number of spaces is time-consuming .

    Can you edit the script in the MathScript window (Tools » MathScript Window...)? The tab button works like that from there.
    Craig H. | CLA | Systems Engineer | National Instruments

  • ALV Report displays space instead of '0.00' for qty field. why?

    Hello friends,
    I am facing a problem to display 0 value for the field
    field - ZZQTY (Predefined Type at Domain level)
         QUAN 21,2
    In the program I am clearing the field and I can see its value as 0.00 while debugging.
    As soon as field ZZQTY is displayed on ALV, it becomes blank (Space).
    My requirement is to display '0.00' on ALV report.
    What should I do?
    Regards,
    Ronny Hanks

    Hello
    Search for
    LS_FIELDCAT-NO_ZERO = 'X'.
    for this field in programm and comment this.

  • Any light weight java code editor

    where can i download a light weight java code editor bcos forte seems to be heavy for my PC
    Also, is there a way to deploy your desktop java apps in such a way as to have it run without the console. Just inqusitive

    where can i download a light weight java code editor
    bcos forte seems to be heavy for my PCI know what you mean. Try eclipse (don't know the website offhand, but it's an IBM thing)
    >
    Also, is there a way to deploy your desktop java apps
    in such a way as to have it run without the console.
    Just inqusitive
    javaw instead of java

  • Inconsistency in the context menu of Code Editor tabs

    Hi,
    This is something I ran in to a couple of times since I migrated to jdev 9.0.4.12.80, therefore I felt the need to post it here.
    Whenever I right-click on a code editor tab to close a source file, which is NOT the currently active file, the corresponding file is closed as expected. The same holds for most options. But when I select 'Run in sql*plus' (in case of a SQL file) or 'Source Control', jdev will use the currently active source file instead of the file corresponding to the tab that I clicked on. It is quite confusing when another file is processed than the file which tab I selected.
    I hope this is clear enough and that it can/will be fixed in future releases.
    Regards,
    Patrick.

    Hi Patrick,
    This sounds like a weirdness (read: bug) in the document bar in 9.0.3 and 9.0.4. It seems that when support for these menu items was added to the document bar, whoever implemented it forgot to pass the correct context to commands when they're invoked from the docbar. So the commands behave just as they would if you invoke them from a main menu - i.e. the file they process is based on the currently focussed dockable.
    In 10g 9.0.5, the document bar is no more, so this bug is sort of fixed.
    Thanks,
    Brian
    JDev Team

  • When I hit the Connect button on my droid phone a message comes up that says" Cannot Setup Sync " instead of giving me the 3 lines of codes I need to enter into my Desktop Computer.. Thanks, Joe

    Question
    When I hit the Connect button on my droid phone a message comes up that says" Cannot Setup Sync " instead of giving me the 3 lines of codes I need to enter into my Desktop Computer.. Thanks, Joe

    The Cannot Setup Sync message indicates that you don't have internet access. Check that you can get your phone online (3g or wifi) and then try to connect again.

  • Enter key instead of TAB key

    Hi folks,
    I'd like to make the ENTER key behave the same way as the TAB key in
    the system I'm developing. I thought I would be able to do it by setting
    the ENTER as a function key (using Window.SetAsFunctionKey), and
    then after detecting an ENTER key press, request focus on the current
    fieldwidget's 'NextTabField'. However, this attribute defaults to NIL unless
    you override the default TAB sequence. And I don't really fancy setting
    the Next and Prev TabField for every onscreen field.
    Anyone done this before using a simpler method?
    By the way, I don't really want to get into a long thread about whether it is
    good practice to bypass Windows (TM) standards or not. We require
    fast data entry, and keyboard entry is essential for that.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email: [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10 years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Duncan,
    The application we are building will replace legacy application and had similar
    requirements to accommodate the current users. We solved this problem by creating a
    special frame, appropriately named as the "Terminal Frame". It is distributed as
    part of the Scaffolds framework.
    The Terminal frame implements ENTER instead of TAB key. As you know the tabbing
    order in a terminal frame (top to bottom, left to right) is different than windows
    tabbing order (left to right, top to bottom). The Terminal frame solves the tabbing
    problem by constructing a "field traverse list" which includes all the fields in a
    window including nested views ordered according to their X,Y co-ordinates. It is a
    recursive method works on the same lines as described by Sakharov, Nickolay in
    earlier mail. The method also sets the NextTabField, PrevTabField references for
    each field in the traverse list.
    This framework is working very well for us. In a terminal frame world, you still
    have some user training issues as some of the fields (OutlineField, DropList,
    ArrayField, CheckBoxe etc.) behave differently for ENTER and TAB keys. But these
    are minimal compared to a complete change in style.
    Hope this is helpful.
    Good Luck,
    Shirish
    Duncan Kinnear wrote:
    On 22 Jun 99, at 23:47, Jeanne Hesler wrote:
    Do the math on this one. Be sure your users understand the cost and the
    lack of payback. I have no problem going against common practice when
    there is a good reason, but this reason just doesn't add up. Even if it
    did slow them down, which it won't, they would never lose enough time to be
    worth the work that it would take to implement.Jeanne,
    Thanks for your reply (even though it doesn't help me!).
    Don't get me wrong, I'm not advocating we abandon the TAB key
    functionality in favour of the ENTER key. I just want to ADD the ENTER
    key as a navigational aid for our 'legacy' users (and we have many). If it
    is done right, there should be no need to tell the user about it. Their
    transition to the new product would be virtually painless.
    Since I posted my original question I've realised that the cost of
    implementation is actually fairly low. And this is why. I have just
    discovered that the default tab order defined by Forte (left to right, top to
    bottom) is essentially useless for most of the windows we will be creating.
    Therefore, we will need to override it by explicitly setting the
    "NextTabField" and "PrevTabField" attributes of our input fields in virtually
    every window. As I am writing the framework for our new product, I will
    have to implement the facility to do this in the framework itself. And if we
    have our tab order defined, then adding the ENTER key functionality is
    minimal extra effort (see my original post). In fact, if I implement it in my
    "CoreWindow" (the root of my windows framework inheritence tree), then
    no-one will ever have to deal with it again.
    The TAB key is not even much of a windows data-entry standard. Many
    of our customers have defined secondary systems using Microsoft
    Access, and it uses the ENTER key (along with the TAB key) to move
    from field to field. Will these customers not complain that they cannot
    use the ENTER key to move between fields if we don't implement it?
    As we do not have the resources to completely rewrite our existing
    COBOL system (over 2 million lines of code) in one go. We will be rolling
    out the new system module by module. This means that a lot of our users
    will be switching between the new windows interface and the text-based
    unix telnet sessions. When I switch back and forth between windows
    editors and 'vi' on the unix host, I experience first-hand how mixed
    navigational facilities can hamper productivity!
    Anyway, I was just hoping there might be a little setting somewhere in
    Forte to switch this on, but as no-one has pointed it out, it seems unlikely.
    Thanks again for your input, lively discussion is always welcome.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email: [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10 years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>--
    Shirish Kulkarni <mailto:[email protected]>
    Sage IT Partners <http://www.sageitpartners.com>
    44 Montgomery St. Suite 3200 San Francisco, CA 94104
    (925)210-6965 Office (415) 399-7001 Fax
    The Leaders in Internet Enabled Enterprise Computing
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Need help: GUI_DOWNLOAD and tab-separated in between fields.

    hello everyone,
    this is the layout of the interface that i created:
             sy-title
    total records processed: XX
    total records failed: XX
    summary of the error
    pernr<tab>name<tab>error message<tab>otherfieldshere
    i wanted the error log to be saved locally thus, i have to use GUI_DOWNLOAD.
    ok, here's the current parameters i supplied with my gui_download:
    CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
                filename                    = v_file_string
                filetype                      = 'ASC'
                write_field_separator   = 'X'
           TABLES
                data_tab                    = i_error_log
    (exceptions not displayed)
    the problem that i have is that, there is a difference between the error logs displayed after the execution and the error logs saved in my local directory.
    i did find a way to resolve this BUT, i still need to refine it. also, the spaces between the fields seems not tab delimited, but separated by space.
    to explain further here's the current error log that i have downloaded:
    10000001<tab>10/23/2006<tab>01<tab>P<tab>11<tab>01
    the header:
             sy-title
    total records processed: XX
    total records failed: XX
    summary of the error
    is not included in the downloaded errorlog file.
    i added some modification of my report to include it because, i want to to look exactly the same as of the errorlog generated/displyed after the execution.
    the result looks as it is what i've expected BUT,
    when i checked the spaces in between fields...
    it is all separated by spaces... not tab.
    here is the actual error log that i have obtained:
             sy-title
    total records processed: XX
    total records failed: XX
    summary of the error
    pernr<space><space><space>name<space><space><space><space><space><space>error message<space><space>otherfieldshere
    What i wanted to resolve is that, i want the error log to be tab delimited and not separated by space.
    is this possible? if it is, any suggestion will truly be appreciated.

    Hi,
    Please check your flat file i think it they have used the Three spaces instead of using a SINGLE TAB. between the fields.
    Thanks & Regards,
    Chandralekha.

  • # is appearing instead of Japanese characters.

    Hi All,
    While loading data which comprises of japanese characters, '#' values are appearing in the infocube(infoprovider) instead of japanese characters in the production system.When I load the same data in developmennt system I can see the japanese characters.Is there any setting that we need to make in production system so that we can see japanese characters instead of #.If not then please suggest any other method.
    Thanks,
    Ishdeep.

    Yogesh,
    Actually the thing is that we dont have any option of code page setting during secong level loading i.e.in our case we have 2 ODS and 2 masters as base tables. On these tables we had a view and above view we have Infocube (2nd level loads)  and on infocube we are reporting. If you know any code page setting or any other setting for this please let me know.
    Ishdeep.

  • Using TLF as basis for code editor?

    Hi,
    I want to develop a editor, which can be used as code editor(not fullscreen, embedded in HTML view) - that means it shall support syntax highlighting, code completion (simulated with other Flex controls) during the maintenance of the code(tokens), you name it. It would also be important to have the possibilty to add (invisible) metadata (like IDs) to the tokens, since there shall be an automatic mapping (user enters tokens and on the fly they are mapped to internal IDs).
    Performance, accessiblity and other related issues (RightToLeft) are also quite important. Undo/Redo of course also .
    Do you think TLF would be of help here or was it designed for another purpose? Another alternative would be the use of the TextArea control (supports HTML).
    Thanks for your feedback!

    ok, thanks for your explainations.
    I've forgotten to describe one further requirement. For some usecases, the user shall only enter coding/tokens in a template.
    Example:
    IF <userInput>
    THEN <userInput>
    ELSE <userinput>
    So, the user shall not be able to delete the template structure (IF clause in this example, "ReadOnly Area").
    I guess also you get low level events (for example, the user hovers the mouse over a token, so that you can provide a tooltip, etc.)?
    There is the need for prototyping, no question. But from your  gutfeeling, would you prefer TLF instead of using the standard TextArea  control to implement such a code editor?
    I know the TextArea control a little...I think its strength are the (memory) footprint, using of full(?) HTML...but I think using this control results not in a clean architecture because there would be the need to rely hevily on html/javascript (eg. using <A> tag to mask ID ) etc.
    In contradiction, TLF can directly interpret XML if I've understood the concept correctly.

  • Enhancement Suggestion - Jdeveloper Code Editor

    Hello,
    I would like to make an enhancements suggestion for the JDeveloper code editor. I find the "history" tab of the source editor extremely useful when I'm trying new things and not sure if they would work. This tab helps me revert changes to a last known version. However, I see myself having to identify the previous correct version by date and time, which is kind of dicey. I do see there is also a description column, however, I'm not able to edit the description with a meaningful message that would help identify as last know good version quickly. Hence, my suggestion is that the history tab of the code editor allow the user to add tags / comments against each version for quick identification.
    Hope the Oracle development is listening, and you'll have to excuse me for posting if this forum is the wrong place to make suggestion ( i didn't quite find any feedback feature on the Jdeveloper product page).
    regards,
    Rehan Yusuf

    No problem Timo.
    I don't think it's worth opening an SR for this. It looks like sub-pixel anti-aliasing isn't supported in the JDeveloper Code Editor, which is a shame, because that's the place where it's most needed.
    Michael.

  • Is there a way to restrict the cursor at the end of a line in the source code editor??

    In the source code editor, the cursor will always follow where I click. But I wanna restrict it at the end of a line, just like other text editors do. Is there a option or sth? I can't put up with it any longer.
    Solved!
    Go to Solution.

    Hello morphe!
    The source editor in the LabWindows/CVI environment is constructed under the concept of virtual space.
    At the moment, in the current version of LabWindows/CVI, this is the default behavior, which cannot be changed from the editor preferences dialogs.
    Best regards,
    - Johannes

  • BUG: EA 2.1 code editor: completion insight doesn't work in opened files

    I just migrated from SQLDEV 1.5.5 to EA 2.1. It's nice that I colud find so many of my suggestions implemented in this new version. THANKX :-)
    code editor:
    When I'm working in SQL Worksheet the "completion insight" feature is working well, but when I try to use it in an opened file, it doesn't work.
    Is there a special preference to turn on for use with files?
    Edited by: @chris on 12.11.2009 10:57

    Correct it did work in 1.5. on .sql files, when connected, so I have updated the ER to bug. We also need to expand this to support PL/SQL files.
    Sue

  • Preferences: Code Editor: Printing:  Add File Path and Date to Print Header?

    Is there a way to add file full path and date to the print file header for a SQL Worksheet when printing from the Code Editor?  So, for example, if my SQL worksheet is called MySQL.sql and is saved to C:\Myfiles\SQL_Code\, I'd like to print the full path 'C:\Myfiles\SQL_Code\MySQL.sql' and today's date as part of the print header along with the page numbers at the top of the code.   I see a Java preview in the Preferences: Code Editor: Printing window that mentions a "Today" date but I don't know Java and that is an uneditable preview.  I have checked the "Print File Header" check box.  Is the file header definition stored somewhere in a configuration file and/or is there a way to modify/customize the default file header?  
    I am a new user to SQL Nav. version 3.2.20.09 Build-MAIN  09.87. I could do this in SQL Navigator but can't figure it out in SQLDeveloper. Thank you.
    -Cathy

    HI
    First of all,
    Unless otherwise you selected some option like page break after/before - both body and header/footer will print on same page in report, so in pdf as well.
    If you have difference on report and PDF that you should look into your setup.
    If you want more help, please be particular on your issue
    james. wrote:
    Hi All,
    I am using Oracle Report 10g. How can I add header and footer on same page as my body? Right now when a generate a pdf file, it is printing individual pages instead of 1 one page. Please help me.
    Regards

Maybe you are looking for

  • How can I view backed up iPhoto images from another computer?

    Hi! I have an iMac, and a MacBook Pro. I have backed up both my iMac and MBP to a Seagate FreeAgent 1 TB external hard drive. I am going abroad, and I want to delete my photos from my MBP. Before I do that I want to be sure that I can still be able t

  • Zoom issues in IOS 8

    I am having the same issue with the zoom, once I triple tap to activate zoom works fine for a bit then the whole OS seems to lock up, at which point I have to restart the iPad and then triple to to turn zoom off, by the way this happens on both the i

  • CONNECT BY - Start from different levels

    Hello again, It's me again with a hierarchical query on which I'm stuck... I think, the easiest way to understand my issue is to get an example: DROP TABLE my_organisations; CREATE TABLE my_organisations   org_id NUMBER(10),   org_name VARCHAR2(100),

  • Delta Skymiles AMEX Gold Approved with Bankruptcy!!

    Just got an instant approval online!!  Credit line is $2,000.  I have applied about 4 times for this card over the past few years, declined each time.  They checked Experian my Fico score is 664 and I have 30+ inquires (i'm a credit junkie too...I ha

  • Full DB Import

    Dear all, Am doing a full import of our production DB into our testing server..I created tablespaces like production in UAT... Do I need to create the users in target db before importing the dump of production ?..Any other considerations to make this