You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After 12+ function blocks, code format is getting lost. It's not even maintaining the basic code syntax.
It's becoming like a plain text, I have been facing this issue since a long time (from sublime-3).
Attaching the code screenshot for reference, see the code from line 16, it started breaking after 15 inner functions.
Steps to reproduce
Create 15 inner functions.
Here is the sample code.
Copy this below code and paste in latest sublime-text-4, you will see the problem.
models.data1.create(payload).then(added=>{models.data2.create(payload).then(added=>{models.data3.create(payload).then(added=>{models.data4.create(payload).then(added=>{models.data5.create(payload).then(added=>{models.data6.create(payload).then(added=>{models.data7.create(payload).then(added=>{models.data8.create(payload).then(added=>{models.data9.create(payload).then(added=>{models.data10.create(payload).then(added=>{models.data11.create(payload).then(added=>{models.data12.create(payload).then(added=>{models.data13.create(payload).then(added=>{models.data14.create(payload).then(added=>{models.data15.create(payload).then(added=>{models.data16.create(payload).then(added=>{resolve("Error")}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})}).catch(err=>{console.log("Error while adding data",err);reject("Error Occured");})
Expected behavior
Functions should not be limited to 15, either remove this limit or provide a way to increase this limit. As this is creating a problem on complex larger codebase.
I'm a huge fan of sublime (it's very fast and minimalistic design with all the features).
I don't want to switch to other editors.
Kindly fix this or give a solution to increase the limit.
Attaching my real-time problem code (see the code from line 1650):
Actual behavior
Inner blocks formatting is limited to 15 blocks only, after 15 inner-blocks of code format is getting lost and it starts becoming like a plain text.
Sublime Text build number
4126
Operating system & version
Windows 11 Pro (OS Build: 22000.493, Version: 21H2)
(Linux) Desktop environment and/or window manager
No response
Additional information
No response
OpenGL context information
No response
The text was updated successfully, but these errors were encountered:
Description of the bug
After 12+ function blocks, code format is getting lost. It's not even maintaining the basic code syntax.
It's becoming like a plain text, I have been facing this issue since a long time (from sublime-3).
Attaching the code screenshot for reference, see the code from line 16, it started breaking after 15 inner functions.
Steps to reproduce
Create 15 inner functions.
Here is the sample code.
Copy this below code and paste in latest sublime-text-4, you will see the problem.
Expected behavior
Functions should not be limited to 15, either remove this limit or provide a way to increase this limit. As this is creating a problem on complex larger codebase.
I'm a huge fan of sublime (it's very fast and minimalistic design with all the features).
I don't want to switch to other editors.
Kindly fix this or give a solution to increase the limit.
Attaching my real-time problem code (see the code from line 1650):

Actual behavior
Inner blocks formatting is limited to 15 blocks only, after 15 inner-blocks of code format is getting lost and it starts becoming like a plain text.
Sublime Text build number
4126
Operating system & version
Windows 11 Pro (OS Build: 22000.493, Version: 21H2)
(Linux) Desktop environment and/or window manager
No response
Additional information
No response
OpenGL context information
No response
The text was updated successfully, but these errors were encountered: