Sorry, I've no answer for you. However I can't resist pointing out to the plug-in creators Google's own style guidelines: "We use 2-space indents for blocks. No tabs at all, anywhere." (http://code.google.com/ webtoolkit/makinggwtbetter.html#codestyle under "Indentation")
While I like Eclipse, I've had no luck making this the default (using 3.6.2). Tabs in my XML files are 2 spaces, but I'm still getting a 4- space tabs in my Java files. On Jul 26, 7:56 pm, Simon Borysiewicz <simon.borysiew...@gmail.com> wrote: > Hi > > I work in an organisation with a specified code format. One of the > rules is no tabs, we use checkstyles to enforce this. I am heavily > involved in GWT projects which requires some minimal use of JSNI > code. When I enable the gwt plugin on the project my code formatter > replaces spaces with tabs, just inside the javascript tags (/*-{ }- > */). This causes checkstyle errors and I have to manually search and > replace the tabs with spaces to be able to check in my changes. When > I disable the gwt plugin on the project the output of the formatter > returns to normal. > > I could not find a setting or any description about how to disable the > auto formatting. Is there a way to disable the formatting of JSNI > code? > > Thanks in advanced. > > Simon -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.