Open sbettwieser opened 1 year ago
@sbettwieser Thanks for reporting the issue! But isn't this expected behaviour? i.e. Changing the indentation settings (type and count) also does change the indentation in generated snippet correctly. i.e. In your example 4 Tabs are indented wherever indentation is needed.
Could you explain more on what exactly the issue is or what's the expected behaviour you were looking for?
@VShingala Hello, it's been a while since I made this post. I thought I had added more screenshot examples back then, so here you go:
Snippet Settings: Indentation count: 4 Indentation type: tab Result: Indentation is 4 tabs of size 4
Snippet Settings: Indentation count: 2 Indentation type: tab Result: Indentation is 2 tabs of size 2
The script editor works correctly (in my opinion): changing indentation count while using tabs only changes the tab size. It is just the code snippets that are acting weird, changing both.
@sbettwieser Thanks for the explanation! It makes sense. Code Snippets seems to also add actual 4 tabs on top of editor making the tab indentation of 4 space. We'll work on fix for this and inform here once it's fixed.
This issue will be fixed in the 11.16
version of the Postman App.
Is there an existing issue for this?
Describe the Issue
Changing the indentation type from "space" to "tab" causes the indentation count setting to change both tab size and number of tabs for several languages (tested JS & Python options so far).
Steps To Reproduce
Screenshots or Videos
Operating System
Windows
Postman Version
10.13.4
Postman Platform
Postman App
User Account Type
Signed In User
Additional Context?
No response