Comments (9)
Okay, I created a separate issue for that, so that we can focus on the issue addressed here. Hope you can find the detail, so that I can fix that :)
from al-codeactions.
Hi Natalie, I fixed it yesterday with v0.2.5.
Furthermore I found another issue: you opened a few days back an issue regarding usage of a table field which is an enum which I fixed (#36 ) But if the enum was used directly, then it was of type variant again. This is now fixed as well.
from al-codeactions.
Thanks :) I'll look into that and keep you posted!
from al-codeactions.
I just tried it with this exact example, but I couldn't reproduce it as it recognizes the return type correctly. It does even work if I create a procedure as a parameter of another procedure call (so that it takes the type of the parameter) or something like that.
What am I doing wrong? :/
from al-codeactions.
Interesting...
My code sample was actually a simplification, though close to the original. I will try to reproduce it again tomorrow, maybe it's all about a tiny detail only.
BTW, I often see parameter variable names with spaces = in quotation marks.
Are there any plans to create variable names without spaces, in general?
from al-codeactions.
You mean that the parameters are always created without spaces and without quotation marks?
I could make it happen.. Good idea :)
from al-codeactions.
Yes, I would prefer that. And Microsoft apparently too 😉
from al-codeactions.
Wow, this was tricky to find out.
Please try again using this code (yes, just an additional line that is commented out - do not change!):
procedure MyFunction()
var
MyCode5Variable: Code[5];
begin
// MyCode5Variable := 'CCCCC'; // <--- new line
MyCode5Variable := MyNewFunction('CCCCC'); // missing
end;
from al-codeactions.
Oh.. Nice one 😆
Thanks for keep trying, I'll look into that tomorrow and fix it 👍
from al-codeactions.
Related Issues (20)
- [Improvement] Extract to Procedure could avoid var for paramater variables HOT 2
- Extract to procedure - Preceding Comments are missing HOT 4
- [Question] Linux support HOT 1
- Generate in-object Permission property HOT 2
- [Create Procedure] adds "internal" even if the caller is in a different app HOT 4
- Extract to Procedure unavailable in larger projects HOT 13
- Extract to procedure is not available after installing Pre-Release version HOT 18
- Extract Label Tries to Rename Wrong Thing HOT 7
- 'Add OnBefore/OnAfter publisher' unavailable HOT 3
- "Create procedure" on Rec inside a page extension will create a function inside the page extension HOT 1
- Promote Action ignores "" HOT 1
- Possible bug in "Reference to Built in functions" HOT 1
- Many functionalities are broken with AZ AL Dev Tools/AL Code Outline v3.0.56
- Rport functionality and design HOT 1
- Create overload does not work anymore HOT 3
- Slows down other QuickFixes HOT 1
- Remove unused Variables Error HOT 2
- Slows down intellisense HOT 4
- Poor Performance with AL Lang v13 HOT 3
- "Extract to Label" code action does not appear for text strings in a report dataitem column
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al-codeactions.