Menu

[BUG] - please check

2009-08-13
2012-11-13
  • shamun toha

    shamun toha - 2009-08-13

    I dont know in your forum where to put bug reports?
    - if you code on notepad++ and then reopen the file in netbeans or eclipse the codeing style is broken, it doesnt stay same in all other.

    Best regards

     
    • cchris

      cchris - 2009-08-16

      Could you elaborate? What part of the "coding style" gets broken?

      The most obvious item I can think of is the tab-to-spaces setting. But then, it is your call to configure Eclipse/NetBeans so that you have consistent settings between them and Notepad++. Notepad++ doesn't add an character behind your back, contrary perhaps to the environments you refer to. What you see after turning viewing of all symbols on is what you get, apart from the BOM in UTF-8 format, granted.

      CChris

       
      • mark mascolino

        mark mascolino - 2009-09-01

        I have 5.4.5 and have set tabs-to-spaces but the editor often "forgets" this setting.  As a python programmer that's crazy frustrating since tabs vs. spaces matter a lot.

         
    • cchris

      cchris - 2009-09-02

      Then it looks like the "Replace by space" should be turned off, as Pyhon needs the hard tabs indeed. When is the setting forgotten?

      CChris

       
    • shamun toha

      shamun toha - 2009-08-17

      Dear Mr. Chris,

      Thanks for the tips. I cant belive why its happening, in netbeans/eclipse editor is fine, but if i work in notepad++ and then use it in netbeans, it crash.

      check the line 990 till 1008 (alignment is broken)
      screen shot: http://img205.imageshack.us/img205/1424/clipboard1k.jpg

      Cheers...

       
    • cchris

      cchris - 2009-08-17

      1/ A crash, really? I assume you only mean an unexpected behaviour, not a premature application shutdown.
      2/ Clearly, the indentation is broken after pasting to NetBeans, or opening the document into it - does this make any difference? -.

      I'd suggest you to do two things:
      a/ In Notepad++, turn on displaying of all unvisible characters using View -> Show symbol -> Show all characters. Take a screenshot of lines 990-1008, so that you can see exactly where tabs and spaces are being used.
      b/ In NNetBeans, try enabling a similar feature, and compare the screenshots. Chances ae that the pictures will give you a clue, if not the straight answer.
      c/ If they don't, what happens when you reopen the document in Notepad++ after saving it in NetBeans? Did the indentation whitespace change?

      HTH
      CChris

       
    • shamun toha

      shamun toha - 2009-08-19

      Well, thanks again, i just didn't spend more time on this, but i remember its ugly and odd for my case to move 1 to another etc etc (netbeans i use for autocomplete and code help) notepad ++ i used my default ide.

      Notepad++ may have nothing to do more with it.

       
MongoDB Logo MongoDB